llvm-6502/test/MC/AsmParser/line_with_hash.s
Rafael Espindola 12ae52767f Fix parsing of a line with only a # in it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142537 91177308-0d34-0410-b5e6-96231b3b80d8
2011-10-19 18:48:52 +00:00

16 lines
243 B
ArmAsm

# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
// We used to incorrectly parse a line with only a # in it
.zero 42
#
.ifndef FOO
.zero 2
.else
.endif
.zero 24
// CHECK: .zero 42
// CHECK-NEXT: .zero 2
// CHECK-NEXT: .zero 24