diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-10-20 08:41:10 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-10-20 08:41:10 +0000 |
commit | 6f21206850d212e69010a13545dd0f02bcf8ef3e (patch) | |
tree | 700b215622977c3313ea04fea90bc396bbc5496a /clang/test/FixIt/fixit-cxx0x.cpp | |
parent | 66f3ac9d21978f378cb0d490d2935833c730f9ba (diff) | |
download | bcm5719-llvm-6f21206850d212e69010a13545dd0f02bcf8ef3e.tar.gz bcm5719-llvm-6f21206850d212e69010a13545dd0f02bcf8ef3e.zip |
DR1473: Do not require a space between operator"" and the ud-suffix in a
literal-operator-id.
llvm-svn: 166373
Diffstat (limited to 'clang/test/FixIt/fixit-cxx0x.cpp')
-rw-r--r-- | clang/test/FixIt/fixit-cxx0x.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/test/FixIt/fixit-cxx0x.cpp b/clang/test/FixIt/fixit-cxx0x.cpp index 0c837b4beb0..a173ce4bc27 100644 --- a/clang/test/FixIt/fixit-cxx0x.cpp +++ b/clang/test/FixIt/fixit-cxx0x.cpp @@ -66,13 +66,11 @@ const char *p = "foo"bar; // expected-error {{requires a space between}} #define ord - '0' int k = '4'ord; // expected-error {{requires a space between}} -void operator""_x(char); // expected-error {{requires a space}} void operator"x" _y(char); // expected-error {{must be '""'}} void operator L"" _z(char); // expected-error {{encoding prefix}} void operator "x" "y" U"z" ""_whoops "z" "y"(char); // expected-error {{must be '""'}} void f() { - 'a'_x; 'b'_y; 'c'_z; 'd'_whoops; |