| // RUN: %clang_cc1 %s -fsyntax-only -verify |
| _Static_assert(n == 5, ""); |
| M( // expected-note {{expansion of macro 'M' requested here}} |
| #pragma pack(pop) // expected-error {{embedding a #pragma directive within macro arguments is not supported}} |
| ({ int result = 0; __VA_ARGS__; if (!result) { fail(#__VA_ARGS__); }; result }) |
| static inline int f(int k) { |
| return MUNCH( // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{returning 'void'}} expected-note {{expansion of macro 'MUNCH' requested here}} |
| #include "macro_arg_directive.h" // expected-error {{embedding a #include directive within macro arguments is not supported}} |