summaryrefslogtreecommitdiffstats
path: root/test/CXX/basic/basic.start/basic.start.main/p2f.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/CXX/basic/basic.start/basic.start.main/p2f.cpp')
-rw-r--r--test/CXX/basic/basic.start/basic.start.main/p2f.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CXX/basic/basic.start/basic.start.main/p2f.cpp b/test/CXX/basic/basic.start/basic.start.main/p2f.cpp
index a3d6a79..ea5a752 100644
--- a/test/CXX/basic/basic.start/basic.start.main/p2f.cpp
+++ b/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 parameter of 'main' (argument count) must be of type 'int'}}
+void // expected-error {{'main' must return 'int'}}
+main( // expected-error {{first parameter of 'main' (argument count) must be of type 'int'}}
float a
) {
}
OpenPOWER on IntegriCloud