summaryrefslogtreecommitdiffstats
path: root/clang
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
commitbf79fc49b32aff90ca8ec7b0ec061a5f6c963062 (patch)
tree16a0f9ed1c0b7eb43057688c1c5348c86d4dac34 /clang
parent7d182a7909881f5555db0f519843681a7252f79d (diff)
downloadbcm5719-llvm-bf79fc49b32aff90ca8ec7b0ec061a5f6c963062.tar.gz
bcm5719-llvm-bf79fc49b32aff90ca8ec7b0ec061a5f6c963062.zip
Remove a test FIXME for a case which is already fixed.
llvm-svn: 152349
Diffstat (limited to 'clang')
-rw-r--r--clang/test/CXX/lex/lex.literal/lex.ext/p10.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/test/CXX/lex/lex.literal/lex.ext/p10.cpp b/clang/test/CXX/lex/lex.literal/lex.ext/p10.cpp
index dc86fdf07f6..1b5d3880cb6 100644
--- a/clang/test/CXX/lex/lex.literal/lex.ext/p10.cpp
+++ b/clang/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 ';'}}
}
OpenPOWER on IntegriCloud