1*b042d15dSJesus Checa Hidalgo# RUN: echo "int main() { return 0; }" | %clang_host -x c -o %t -
2*b042d15dSJesus Checa Hidalgo# RUN: %lldb -s %s %t | FileCheck %s
3*b042d15dSJesus Checa Hidalgo
4*b042d15dSJesus Checa Hidalgo# Make sure that lldb doesn't crash when evaluating expressions with string literals
5*b042d15dSJesus Checa Hidalgob main
6*b042d15dSJesus Checa Hidalgorun
7*b042d15dSJesus Checa Hidalgoexpr "hello there"
8*b042d15dSJesus Checa Hidalgoexpr printf("hello there")
9*b042d15dSJesus Checa Hidalgo
10*b042d15dSJesus Checa Hidalgo# CHECK: (const char[12]) $0 = "hello there"
11*b042d15dSJesus Checa Hidalgo# CHECK: (int) $1 = 11
12