summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJordan Rose <jordan_rose@apple.com>2013-08-23 16:12:49 +0000
committerJordan Rose <jordan_rose@apple.com>2013-08-23 16:12:49 +0000
commit9217aa3b1532b76e50c6e28f4baec28557f5f978 (patch)
tree81b385ff359a94f9610c27be94a4c165f37a8e76
parent25284cc95b87b12c83a54aaf891f3c7d8a521186 (diff)
downloadbcm5719-llvm-9217aa3b1532b76e50c6e28f4baec28557f5f978.tar.gz
bcm5719-llvm-9217aa3b1532b76e50c6e28f4baec28557f5f978.zip
Revise -Wnewline-eof test per feedback from Dmitri.
llvm-svn: 189113
-rw-r--r--clang/test/Lexer/newline-eof.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/clang/test/Lexer/newline-eof.c b/clang/test/Lexer/newline-eof.c
index d762519aaae..340d9de8d36 100644
--- a/clang/test/Lexer/newline-eof.c
+++ b/clang/test/Lexer/newline-eof.c
@@ -1,12 +1,12 @@
-// RUN: %clang -fsyntax-only -Wnewline-eof -verify %s
-// RUN: %clang -fsyntax-only -pedantic -verify %s
-// RUN: %clang -fsyntax-only -x c++ -std=c++03 -pedantic -verify %s
-// RUN: %clang -fsyntax-only -Wnewline-eof %s 2>&1 | FileCheck %s
+// RUN: %clang_cc1 -fsyntax-only -Wnewline-eof -verify %s
+// RUN: %clang_cc1 -fsyntax-only -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -x c++ -std=c++03 -pedantic -verify %s
+// RUN: %clang_cc1 -fsyntax-only -Wnewline-eof %s 2>&1 | FileCheck %s
// rdar://9133072
// In C++11 mode, this is allowed, so don't warn in pedantic mode.
-// RUN: %clang -fsyntax-only -x c++ -std=c++11 -Wnewline-eof -verify %s
-// RUN: %clang -fsyntax-only -x c++ -std=c++11 -pedantic %s
+// RUN: %clang_cc1 -fsyntax-only -x c++ -std=c++11 -Wnewline-eof -verify %s
+// RUN: %clang_cc1 -fsyntax-only -x c++ -std=c++11 -Werror -pedantic %s
// Make sure the diagnostic shows up properly at the end of the last line.
// CHECK: newline-eof.c:[[@LINE+3]]:63
OpenPOWER on IntegriCloud