llvm-project/llvm/test/MC/AsmParser/line_with_hash.s

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