We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efce7a1 commit efd805eCopy full SHA for efd805e
llvm/test/MC/AsmParser/quoted.s
@@ -0,0 +1,15 @@
1
+# RUN: rm -rf %t && split-file %s %t && cd %t
2
+# RUN: llvm-mc -triple x86_64 a.s | FileCheck %s
3
+# RUN: not llvm-mc -triple x86_64 err.s 2>&1 | FileCheck %s --check-prefix=ERR
4
+
5
+#--- a.s
6
+# CHECK: .type "a b",@function
7
+# CHECK: "a b":
8
+.type "a b", @function
9
+"a b":
10
+ call "a b"
11
12
+#--- err.s
13
+ "a\":
14
+# ERR: 1:2: error: unterminated string constant
15
+# ERR: 1:2: error: unexpected token at start of statement
0 commit comments