diff options
| author | John McCall <rjmccall@apple.com> | 2009-12-24 09:58:38 +0000 |
|---|---|---|
| committer | John McCall <rjmccall@apple.com> | 2009-12-24 09:58:38 +0000 |
| commit | 0e21fccfae98a40abf001df304553a86efc186b0 (patch) | |
| tree | 489b711a95393869bf67cfadf8e80fbf41b26e89 /clang/test | |
| parent | 53b93a091e9f9a7a00917d8c6248de474bd57cad (diff) | |
| download | bcm5719-llvm-0e21fccfae98a40abf001df304553a86efc186b0.tar.gz bcm5719-llvm-0e21fccfae98a40abf001df304553a86efc186b0.zip | |
Tweak the text of several main() diagnostics and punch a hole specifically for
Darwin's sekrit fourth argument. This should probably be factored to
let targets make target-specific decisions about what main() should look like.
Fixes rdar://problem/7414990
or if different platforms have radically different ideas of what they want in
llvm-svn: 92128
Diffstat (limited to 'clang/test')
| -rw-r--r-- | clang/test/CXX/basic/basic.start/basic.start.main/p2f.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/CXX/basic/basic.start/basic.start.main/p2f.cpp b/clang/test/CXX/basic/basic.start/basic.start.main/p2f.cpp index e346d318b18..a3d6a79a4fa 100644 --- a/clang/test/CXX/basic/basic.start/basic.start.main/p2f.cpp +++ b/clang/test/CXX/basic/basic.start/basic.start.main/p2f.cpp @@ -1,7 +1,7 @@ // RUN: %clang_cc1 -fsyntax-only -verify %s void // expected-error {{error: 'main' must return 'int'}} -main( // expected-error {{error: first argument of 'main' should be of type 'int'}} +main( // expected-error {{error: first parameter of 'main' (argument count) must be of type 'int'}} float a ) { } |

