diff --git a/clang/test/Preprocessor/pragma_unknown.c b/clang/test/Preprocessor/pragma_unknown.c new file mode 100644 index 000000000000..ca2bea10e19c --- /dev/null +++ b/clang/test/Preprocessor/pragma_unknown.c @@ -0,0 +1,6 @@ +// RUN: clang -E %s | grep '#pragma foo bar' + +// GCC doesn't expand macro args for unrecognized pragmas. +#define bar xX +#pragma foo bar +