diff options
Diffstat (limited to 'clang/test/Parser/objcxx11-user-defined-literal.mm')
-rw-r--r-- | clang/test/Parser/objcxx11-user-defined-literal.mm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang/test/Parser/objcxx11-user-defined-literal.mm b/clang/test/Parser/objcxx11-user-defined-literal.mm new file mode 100644 index 0000000..a5f1397 --- /dev/null +++ b/clang/test/Parser/objcxx11-user-defined-literal.mm @@ -0,0 +1,3 @@ +// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s + +id x = @"foo"_bar; // expected-error{{user-defined suffix cannot be used here}} |