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