aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-03-08 23:08:29 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-03-08 23:08:29 +0000
commite093404ee9fc6fc169304b51ec2f78ffafef16b9 (patch)
tree7ccb0804a8481821b584a20e664a0e2268aa66c2
parent33762775706e81c17ca774102ceda36049ecc593 (diff)
Remove a test FIXME for a case which is already fixed.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152349 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CXX/lex/lex.literal/lex.ext/p10.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/CXX/lex/lex.literal/lex.ext/p10.cpp b/test/CXX/lex/lex.literal/lex.ext/p10.cpp
index dc86fdf07f..1b5d3880cb 100644
--- a/test/CXX/lex/lex.literal/lex.ext/p10.cpp
+++ b/test/CXX/lex/lex.literal/lex.ext/p10.cpp
@@ -7,9 +7,8 @@ void operator "" wibble(const char *, size_t); // expected-warning {{user-define
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 ';'}}
}