mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-04 03:06:28 +00:00
c5892fb7ab
--strip-trailing-cr is a diffutils option which is also available on BSD-licensed diff introduced in FreeBSD 11.2, however, it has a bug comparing files mixing \r and \r\n. Use -b (POSIX) instead. llvm-svn: 338008
15 lines
313 B
ArmAsm
15 lines
313 B
ArmAsm
#REQUIRES: shell
|
|
#RUN: llvm-mc -preserve-comments -n -triple i386-linux-gnu < %s > %t
|
|
#RUN: diff -b %s %t
|
|
.text
|
|
|
|
foo: #Comment here
|
|
#comment here
|
|
nop
|
|
#if DIRECTIVE COMMENT
|
|
## WHOLE LINE COMMENT
|
|
cmpl $196, %eax ## EOL COMMENT
|
|
#endif
|
|
.ident "clang version 3.9.0"
|
|
.section ".note.GNU-stack","",@progbits
|