C++程序  |  8行  |  248 B

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