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.cpp7
1 files changed, 0 insertions, 7 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
deleted file mode 100644
index ea5a752a191c..000000000000
--- a/test/CXX/basic/basic.start/basic.start.main/p2f.cpp
+++ /dev/null
@@ -1,7 +0,0 @@
-// RUN: %clang_cc1 -fsyntax-only -verify %s
-
-void // expected-error {{'main' must return 'int'}}
-main( // expected-error {{first parameter of 'main' (argument count) must be of type 'int'}}
- float a
-) {
-}