summaryrefslogtreecommitdiff
path: root/test/Import/struct-layout/Inputs/Callee.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Import/struct-layout/Inputs/Callee.cpp')
-rw-r--r--test/Import/struct-layout/Inputs/Callee.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Import/struct-layout/Inputs/Callee.cpp b/test/Import/struct-layout/Inputs/Callee.cpp
new file mode 100644
index 000000000000..62422af6c2de
--- /dev/null
+++ b/test/Import/struct-layout/Inputs/Callee.cpp
@@ -0,0 +1,9 @@
+struct S {
+ int a;
+};
+
+struct Bar {
+ void bar(int _a) {
+ S s = { _a };
+ };
+};