This test, introduced by b042d15d2e, fails on
https://lab.llvm.org/buildbot/#/builders/83/builds/20933/steps/7/logs/stdio
but succeeds on other targets, see for instance
https://lab.llvm.org/buildbot/#/builders/68/builds/35462/steps/6/logs/stdio
This test is not be arch specific, just disabling it on Windows.
13 lines
345 B
Plaintext
13 lines
345 B
Plaintext
# UNSUPPORTED: system-windows
|
|
# RUN: echo "int main() { return 0; }" | %clang_host -x c -o %t -
|
|
# RUN: %lldb -s %s %t | FileCheck %s
|
|
|
|
# Make sure that lldb doesn't crash when evaluating expressions with string literals
|
|
b main
|
|
run
|
|
expr "hello there"
|
|
expr printf("hello there")
|
|
|
|
# CHECK: (const char[12]) $0 = "hello there"
|
|
# CHECK: (int) $1 = 11
|