diff options
Diffstat (limited to 'test/FixIt/fixit.cpp')
-rw-r--r-- | test/FixIt/fixit.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/FixIt/fixit.cpp b/test/FixIt/fixit.cpp index 5a28132397..9b39c9e8a5 100644 --- a/test/FixIt/fixit.cpp +++ b/test/FixIt/fixit.cpp @@ -60,3 +60,9 @@ namespace rdar7796492 { } } + +CT<1> main(void); // expected-error{{'main' must return 'int'}} + +// typedef CT<1> mainT(void); +// mainT main; // TODO + |