From f05c0958e281e89ed1d8cc0752a5878ac9d8ed66 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Sat, 19 Feb 2011 19:04:23 +0000 Subject: Remove the Fix-It for "main must return 'int'", which is not always correct and is not worth fixing. Fixes PR8396. llvm-svn: 126035 --- clang/test/FixIt/fixit.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'clang/test/FixIt/fixit.cpp') diff --git a/clang/test/FixIt/fixit.cpp b/clang/test/FixIt/fixit.cpp index 1993425c955..41b187b0718 100644 --- a/clang/test/FixIt/fixit.cpp +++ b/clang/test/FixIt/fixit.cpp @@ -61,11 +61,6 @@ namespace rdar7796492 { } -CT<1> main(void); // expected-error{{'main' must return 'int'}} - -// typedef CT<1> mainT(void); -// mainT main; // TODO - // extra qualification on member class C { int C::foo(); -- cgit v1.2.3