aboutsummaryrefslogtreecommitdiff
path: root/lit/Expr/TestCallStdStringFunction.test
diff options
context:
space:
mode:
Diffstat (limited to 'lit/Expr/TestCallStdStringFunction.test')
-rw-r--r--lit/Expr/TestCallStdStringFunction.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/lit/Expr/TestCallStdStringFunction.test b/lit/Expr/TestCallStdStringFunction.test
new file mode 100644
index 000000000000..dadb5dbd0961
--- /dev/null
+++ b/lit/Expr/TestCallStdStringFunction.test
@@ -0,0 +1,14 @@
+# XFAIL: windows
+# -> llvm.org/pr21765
+
+# XFAIL: freebsd
+# -> llvm.org/pr17807
+
+# RUN: %cxx %p/Inputs/call-function.cpp -g -o %t && %lldb -b -s %s -- %t | FileCheck %s
+
+breakpoint set --file call-function.cpp --line 52
+run
+print str
+# CHECK: Hello world
+print str.c_str()
+# CHECK: Hello world