llvm-capstone/clang/test/Preprocessor/macro_arg_directive.h
Richard Smith eb3ce7c3db Don't allow #include (and its friends #import, #include_next and
#__include_macros) in the arguments of a function-style macro. Directives in the
arguments of such macros have undefined behaviour, and GCC does not correctly
support these cases. In some situations, this can lead to better diagnostics.

llvm-svn: 146765
2011-12-16 22:50:01 +00:00

10 lines
90 B
C

// Support header for macro_arg_directive.c
int n;
struct S {
int k;
};
void g(int);