xref: /aosp_15_r20/external/llvm/test/MC/ARM/preserve-comments-arm.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker	@RUN: llvm-mc -preserve-comments -n -triple arm-eabi < %s > %t
2*9880d681SAndroid Build Coastguard Worker	@RUN: sed 's/#[C]omment/@Comment/g' %s > %t2
3*9880d681SAndroid Build Coastguard Worker	@RUN: diff %t %t2
4*9880d681SAndroid Build Coastguard Worker	.text
5*9880d681SAndroid Build Coastguard Worker
6*9880d681SAndroid Build Coastguard Worker	mov	r0, r0
7*9880d681SAndroid Build Coastguard Workerfoo:	#Comment here
8*9880d681SAndroid Build Coastguard Worker	mov	r0, r0	@ EOL comment
9*9880d681SAndroid Build Coastguard Worker	.ident	""
10*9880d681SAndroid Build Coastguard Worker
11