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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/FixIt/fixit.c b/test/FixIt/fixit.c
index 890fb10..9c74435 100644
--- a/test/FixIt/fixit.c
+++ b/test/FixIt/fixit.c
@@ -41,3 +41,10 @@ int test_cond(int y, int fooBar) {
// CHECK: typedef int int_t;
typedef typedef int int_t;
+
+// <rdar://problem/7159693>
+enum Color {
+ Red // expected-error{{missing ',' between enumerators}}
+ Green = 17 // expected-error{{missing ',' between enumerators}}
+ Blue,
+};
OpenPOWER on IntegriCloud