summaryrefslogtreecommitdiff
path: root/clang/test/SemaObjCXX/ivar-struct.mm
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/SemaObjCXX/ivar-struct.mm')
-rw-r--r--clang/test/SemaObjCXX/ivar-struct.mm7
1 files changed, 7 insertions, 0 deletions
diff --git a/clang/test/SemaObjCXX/ivar-struct.mm b/clang/test/SemaObjCXX/ivar-struct.mm
new file mode 100644
index 0000000..3f9c7eb
--- /dev/null
+++ b/clang/test/SemaObjCXX/ivar-struct.mm
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -fsyntax-only -verify %s
+@interface A {
+ struct X {
+ int x, y;
+ } X;
+}
+@end