[cfe-commits] r152349 - /cfe/trunk/test/CXX/lex/lex.literal/lex.ext/p10.cpp
Richard Smith
richard-llvm at metafoo.co.uk
Thu Mar 8 15:08:29 PST 2012
Author: rsmith
Date: Thu Mar 8 17:08:29 2012
New Revision: 152349
URL: http://llvm.org/viewvc/llvm-project?rev=152349&view=rev
Log:
Remove a test FIXME for a case which is already fixed.
Modified:
cfe/trunk/test/CXX/lex/lex.literal/lex.ext/p10.cpp
Modified: cfe/trunk/test/CXX/lex/lex.literal/lex.ext/p10.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/lex/lex.literal/lex.ext/p10.cpp?rev=152349&r1=152348&r2=152349&view=diff
==============================================================================
--- cfe/trunk/test/CXX/lex/lex.literal/lex.ext/p10.cpp (original)
+++ cfe/trunk/test/CXX/lex/lex.literal/lex.ext/p10.cpp Thu Mar 8 17:08:29 2012
@@ -7,9 +7,8 @@
template<typename T>
void f() {
// A program containing a reserved ud-suffix is ill-formed.
- // FIXME: Reject these for the right reason.
- 123wibble; // expected-error {{suffix 'wibble'}}
- 123.0wibble; // expected-error {{suffix 'wibble'}}
+ 123wibble; // expected-error {{invalid suffix 'wibble'}}
+ 123.0wibble; // expected-error {{invalid suffix 'wibble'}}
const char *p = ""wibble; // expected-error {{invalid suffix on literal; C++11 requires a space between literal and identifier}} expected-error {{expected ';'}}
const char *q = R"x("hello")x"wibble; // expected-error {{invalid suffix on literal; C++11 requires a space between literal and identifier}} expected-error {{expected ';'}}
}
More information about the cfe-commits
mailing list