diff options
Diffstat (limited to 'test/MC/AsmParser/dash-n.s')
-rw-r--r-- | test/MC/AsmParser/dash-n.s | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/AsmParser/dash-n.s b/test/MC/AsmParser/dash-n.s new file mode 100644 index 0000000000000..b6243a4a01d07 --- /dev/null +++ b/test/MC/AsmParser/dash-n.s @@ -0,0 +1,7 @@ +// RUN: not llvm-mc -n -triple i386-unknown-unknown %s 2> %t +// RUN: FileCheck < %t %s + +.globl a +// CHECK: error: expected section directive before assembly directive +.long 0 + |