mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-06 21:51:08 +00:00
f424a597df
This test didn't work as intended and was ultimately disabled some years ago in r169458. Indeed it's not clear if the '\n' was ever passed through to the driver correctly given that lit would insert '&& {' at the newline. Test rewritten to use printf/xargs to insert '\n' in a more reliable manner and to use FileCheck for verification. llvm-svn: 206703
8 lines
248 B
C
8 lines
248 B
C
// RUN: printf -- "-DX=A\nTHIS_SHOULD_NOT_EXIST_IN_THE_OUTPUT" | xargs -0 %clang -E %s | FileCheck -strict-whitespace %s
|
|
// REQUIRES: shell
|
|
|
|
// Per GCC -D semantics, \n and anything that follows is ignored.
|
|
|
|
// CHECK: {{^START A END$}}
|
|
START X END
|