summaryrefslogtreecommitdiff
path: root/test/Parser/asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/asm.c')
-rw-r--r--test/Parser/asm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/Parser/asm.c b/test/Parser/asm.c
index 90818261513f..23052c389eb2 100644
--- a/test/Parser/asm.c
+++ b/test/Parser/asm.c
@@ -14,3 +14,6 @@ void f2() {
// rdar://5952468
__asm ; // expected-error {{expected '(' after 'asm'}}
+// <rdar://problem/10465079> - Don't crash on wide string literals in 'asm'.
+int foo asm (L"bar"); // expected-error {{cannot use wide string literal in 'asm'}}
+