llvm-for-llvmta/tools/clang/test/Preprocessor/_Pragma-dependency.c

13 lines
345 B
C

// RUN: %clang_cc1 -E -verify %s
#pragma GCC dependency "./_Pragma-dependency.c"
#define self "./_Pragma-dependency.c"
// expected-error@+1 {{expected "FILENAME" or <FILENAME>}}
#pragma GCC dependency self
#define DO_PRAGMA _Pragma
#define STR "GCC dependency \"parse.y\"")
// expected-error@+1 {{'parse.y' file not found}}
DO_PRAGMA (STR