xref: /minix3/external/bsd/llvm/dist/clang/test/Modules/Inputs/declare-use/j.h (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc #ifndef J_H
2*0a6a1f1dSLionel Sambuc #define J_H
3*0a6a1f1dSLionel Sambuc 
4*0a6a1f1dSLionel Sambuc #define STR(x) #x
5*0a6a1f1dSLionel Sambuc #define HDR(x) STR(x.h)
6*0a6a1f1dSLionel Sambuc 
7*0a6a1f1dSLionel Sambuc #include ALLOWED_INC
8*0a6a1f1dSLionel Sambuc #include HDR(a)
9*0a6a1f1dSLionel Sambuc 
10*0a6a1f1dSLionel Sambuc const int j = a * a + b;
11*0a6a1f1dSLionel Sambuc 
12*0a6a1f1dSLionel Sambuc // expected-no-diagnostics
13*0a6a1f1dSLionel Sambuc 
14*0a6a1f1dSLionel Sambuc #endif
15