brintos

brintos / llvm-project-archived public Read only

0
0
Text · 492 B · 9cace04 Raw
18 lines · plain
1	#RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t2	#RUN: diff -b %s %t3	#RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %p/Inputs/no-newline-at-end-of-file.s | FileCheck %s4	.text5 6foo:	#Comment here7	#comment here8	nop9	#if DIRECTIVE COMMENT10	## WHOLE LINE COMMENT11	cmpl	$196, %eax	## EOL COMMENT12	#endif13	.ident	"clang version 3.9.0"14	.section	".note.GNU-stack","",@progbits15 16	#Confirm we don't crash on inputs without a terminating newline.17	#CHECK: .text18