llvm-project/clang/test/Preprocessor/macro-multiline.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
232 B
C
Raw Normal View History

// 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