xref: /aosp_15_r20/external/llvm/test/MC/AsmParser/preserve-comments.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker	#RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t
2*9880d681SAndroid Build Coastguard Worker	#RUN: diff %s %t
3*9880d681SAndroid Build Coastguard Worker	.text
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Workerfoo:	#Comment here
6*9880d681SAndroid Build Coastguard Worker	#comment here
7*9880d681SAndroid Build Coastguard Worker	nop
8*9880d681SAndroid Build Coastguard Worker	#if DIRECTIVE COMMENT
9*9880d681SAndroid Build Coastguard Worker	## WHOLE LINE COMMENT
10*9880d681SAndroid Build Coastguard Worker	cmpl	$196, %eax	## EOL COMMENT
11*9880d681SAndroid Build Coastguard Worker	#endif
12