summaryrefslogtreecommitdiff
path: root/test/Import/struct-layout/test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Import/struct-layout/test.cpp')
-rw-r--r--test/Import/struct-layout/test.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Import/struct-layout/test.cpp b/test/Import/struct-layout/test.cpp
new file mode 100644
index 0000000000000..698d0609fa052
--- /dev/null
+++ b/test/Import/struct-layout/test.cpp
@@ -0,0 +1,6 @@
+// RUN: clang-import-test -dump-ir -import %S/Inputs/Callee.cpp -expression %s | FileCheck %s
+// CHECK: %struct.S = type { i
+
+void foo() {
+ return Bar().bar(3);
+}