summaryrefslogtreecommitdiffstats
path: root/clang/test/Import/array-init-loop-expr/Inputs/S.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Import/array-init-loop-expr/Inputs/S.cpp')
-rw-r--r--clang/test/Import/array-init-loop-expr/Inputs/S.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Import/array-init-loop-expr/Inputs/S.cpp b/clang/test/Import/array-init-loop-expr/Inputs/S.cpp
index bf80439834b..5ca3ad47b27 100644
--- a/clang/test/Import/array-init-loop-expr/Inputs/S.cpp
+++ b/clang/test/Import/array-init-loop-expr/Inputs/S.cpp
@@ -1,3 +1,8 @@
class S {
int a[10];
};
+
+void f() {
+ S s;
+ S copy = s;
+}
OpenPOWER on IntegriCloud