aboutsummaryrefslogtreecommitdiff
path: root/lit/Expr/TestCallUserAnonTypedef.test
diff options
context:
space:
mode:
Diffstat (limited to 'lit/Expr/TestCallUserAnonTypedef.test')
-rw-r--r--lit/Expr/TestCallUserAnonTypedef.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/lit/Expr/TestCallUserAnonTypedef.test b/lit/Expr/TestCallUserAnonTypedef.test
new file mode 100644
index 000000000000..510f40c22e2d
--- /dev/null
+++ b/lit/Expr/TestCallUserAnonTypedef.test
@@ -0,0 +1,11 @@
+# XFAIL: windows
+
+# XFAIL: armhf-linux
+# -> llvm.org/pr27868
+
+# RUN: %cxx %p/Inputs/anonymous-struct.cpp -g -o %t && %lldb -b -s %s -- %t | FileCheck %s
+
+breakpoint set --file anonymous-struct.cpp --line 24
+run
+expression multiply(&s)
+# CHECK: $0 = 1