1 // RUN: %clang_cc1 %s -E -Wdisabled-macro-expansion -verify 2 3 #define p p 4 5 #define a b 6 #define b a 7 8 #define f(a) a 9 10 #define g(b) a 11 12 #define h(x) i(x) 13 #define i(y) i(y) 14 15 #define c(x) x(0) 16 17 p // expected-warning {{recursive macro}} 18 19 a // expected-warning {{recursive macro}} 20 21 f(2) 22 23 g(3) // expected-warning {{recursive macro}} 24 25 h(0) // expected-warning {{recursive macro}} 26 27 c(c) // expected-warning {{recursive macro}} 28