summaryrefslogtreecommitdiffstats
path: root/test/FixIt/fixit.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FixIt/fixit.c')
-rw-r--r--test/FixIt/fixit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/FixIt/fixit.c b/test/FixIt/fixit.c
index 9c74435..1a6ef63 100644
--- a/test/FixIt/fixit.c
+++ b/test/FixIt/fixit.c
@@ -48,3 +48,9 @@ enum Color {
Green = 17 // expected-error{{missing ',' between enumerators}}
Blue,
};
+
+// rdar://9295072
+struct test_struct {
+ // CHECK: struct test_struct *struct_ptr;
+ test_struct *struct_ptr; // expected-error {{must use 'struct' tag to refer to type 'test_struct'}}
+};
OpenPOWER on IntegriCloud