mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-05-14 01:46:41 +00:00

Use the new kind for both angled header-name tokens and for double-quoted header-name tokens. This is in preparation for C++20's context-sensitive header-name token formation rules. llvm-svn: 356530
13 lines
345 B
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
|