aboutsummaryrefslogtreecommitdiff
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 b7845b13e9a4..a3d6a79a4fa0 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-cc -fsyntax-only -verify %s
+// 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
) {
}