diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-05-02 19:39:53 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-05-02 19:39:53 +0000 |
commit | 01af97d3b23bded2b2b21af19bbc6e4cce49e5b3 (patch) | |
tree | 64a10f4c4154739d4a8191d7e1b52ce497f4ebd6 /test/FixIt/fixit.c | |
parent | c3b054d250cdca485c71845089c316e10610ebad (diff) |
Diffstat (limited to 'test/FixIt/fixit.c')
-rw-r--r-- | test/FixIt/fixit.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/FixIt/fixit.c b/test/FixIt/fixit.c index 9c74435942838..1a6ef635570a5 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'}} +}; |