hanchenye-llvm-project/clang/test/Preprocessor/_Pragma-dependency.c

8 lines
232 B
C

// RUN: clang %s -E 2>&1 | grep 'DO_PRAGMA (STR' &&
// RUN: clang %s -E 2>&1 | grep '7:12'
#define DO_PRAGMA _Pragma
#define STR "GCC dependency \"parse.y\"")
// Test that this line is printed by caret diagnostics.
DO_PRAGMA (STR