[cfe-commits] r39246 - /cfe/cfe/trunk/test/Preprocessor/cxx_oper_keyword.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:41:51 PDT 2007
Author: sabre
Date: Wed Jul 11 11:41:50 2007
New Revision: 39246
URL: http://llvm.org/viewvc/llvm-project?rev=39246&view=rev
Log:
improve this test to also check -fno-operator-keywords.
Modified:
cfe/cfe/trunk/test/Preprocessor/cxx_oper_keyword.cpp
Modified: cfe/cfe/trunk/test/Preprocessor/cxx_oper_keyword.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/test/Preprocessor/cxx_oper_keyword.cpp?rev=39246&r1=39245&r2=39246&view=diff
==============================================================================
--- cfe/cfe/trunk/test/Preprocessor/cxx_oper_keyword.cpp (original)
+++ cfe/cfe/trunk/test/Preprocessor/cxx_oper_keyword.cpp Wed Jul 11 11:41:50 2007
@@ -1,6 +1,7 @@
-// RUN: not clang %s -E
+// RUN: not clang %s -E &&
+// RUN: clang %s -E -fno-operator-names
-// Not valid in C++.
+// Not valid in C++ unless -fno-operator-names is passed.
#define and foo
More information about the cfe-commits
mailing list