llvm-for-llvmta/test/MC/ARM/preserve-comments-arm.s

11 lines
209 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
@RUN: llvm-mc -preserve-comments -n -triple arm-eabi < %s > %t
@RUN: sed 's/#[C]omment/@Comment/g' %s > %t2
@RUN: diff -b %t %t2
.text
mov r0, r0
foo: #Comment here
mov r0, r0 @ EOL comment
.ident ""