199831e4677a7e2e051af636221694d60ba31fcdbRichard Smith// RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
299831e4677a7e2e051af636221694d60ba31fcdbRichard Smith
399831e4677a7e2e051af636221694d60ba31fcdbRichard Smithint foo1 asm ("bar1");
499831e4677a7e2e051af636221694d60ba31fcdbRichard Smithint foo2 asm (L"bar2"); // expected-error {{cannot use wide string literal in 'asm'}}
599831e4677a7e2e051af636221694d60ba31fcdbRichard Smithint foo3 asm (u8"bar3"); // expected-error {{cannot use unicode string literal in 'asm'}}
699831e4677a7e2e051af636221694d60ba31fcdbRichard Smithint foo4 asm (u"bar4"); // expected-error {{cannot use unicode string literal in 'asm'}}
799831e4677a7e2e051af636221694d60ba31fcdbRichard Smithint foo5 asm (U"bar5"); // expected-error {{cannot use unicode string literal in 'asm'}}
899831e4677a7e2e051af636221694d60ba31fcdbRichard Smithint foo6 asm ("bar6"_x); // expected-error {{string literal with user-defined suffix cannot be used here}}
9