You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
345 B

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