diff options
Diffstat (limited to 'test/MC/AsmParser')
-rw-r--r-- | test/MC/AsmParser/labels.s | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/MC/AsmParser/labels.s b/test/MC/AsmParser/labels.s new file mode 100644 index 0000000..f429b3b --- /dev/null +++ b/test/MC/AsmParser/labels.s @@ -0,0 +1,26 @@ +// RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s + + .data: +// CHECK: a: +a: + .long 0 +// CHECK: b: +"b": + .long 0 +// FIXME(quoting): CHECK: a$b: +"a$b": + .long 0 + + .text: +foo: +// FIXME(quoting): CHECK: val:a$b + addl $24, "a$b"(%eax) +// FIXME(quoting): CHECK: val:a$b + 10 + addl $24, ("a$b" + 10)(%eax) + +// FIXME(quoting): CHECK: b$c = 10 +"b$c" = 10 +// FIXME(quoting): CHECK: val:10 + addl "b$c", %eax + + |