summaryrefslogtreecommitdiff
path: root/test/Import/array-init-loop-expr/Inputs
diff options
context:
space:
mode:
Diffstat (limited to 'test/Import/array-init-loop-expr/Inputs')
-rw-r--r--test/Import/array-init-loop-expr/Inputs/S.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Import/array-init-loop-expr/Inputs/S.cpp b/test/Import/array-init-loop-expr/Inputs/S.cpp
new file mode 100644
index 0000000000000..5ca3ad47b278f
--- /dev/null
+++ b/test/Import/array-init-loop-expr/Inputs/S.cpp
@@ -0,0 +1,8 @@
+class S {
+ int a[10];
+};
+
+void f() {
+ S s;
+ S copy = s;
+}