diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-04-21 17:29:47 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2011-04-21 17:29:47 +0000 |
commit | 1f329402ae184b661e4d6455cde0deabca2c5fe1 (patch) | |
tree | 1e734985ce383f71361abc020fb32c8c2364a597 /clang/test/FixIt/fixit.c | |
parent | 99fbd4d1d8b96c159438a5710bdba4647c6897b6 (diff) | |
download | bcm5719-llvm-1f329402ae184b661e4d6455cde0deabca2c5fe1.tar.gz bcm5719-llvm-1f329402ae184b661e4d6455cde0deabca2c5fe1.zip |
Fixit suggestion for adding missing tag name should have a space after the tag name. Fixes rdar://9295072
llvm-svn: 129917
Diffstat (limited to 'clang/test/FixIt/fixit.c')
-rw-r--r-- | clang/test/FixIt/fixit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/FixIt/fixit.c b/clang/test/FixIt/fixit.c index 9c744359428..1a6ef635570 100644 --- a/clang/test/FixIt/fixit.c +++ b/clang/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'}} +}; |