llvm-for-llvmta/tools/clang/test/Preprocessor/macro-multiline.c

7 lines
232 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: printf -- "-DX=A\\\\\nTHIS_SHOULD_NOT_EXIST_IN_THE_OUTPUT\n" | xargs %clang -E %s | FileCheck -strict-whitespace %s
// Per GCC -D semantics, \n and anything that follows is ignored.
// CHECK: {{^START A END$}}
START X END