middle-end: check explicitly for external or constants when checking for loop invaria...
[official-gcc.git] / gcc / testsuite / gcc.dg / cpp / warn-unused-macros.c
blob74df23971a968b508e95fe1f95132e571df24b33
1 // { dg-do preprocess }
2 // { dg-options "-std=gnu99 -fdiagnostics-show-option -Wunused-macros" }
4 #define X X // { dg-warning "9:macro \"X\" is not used .-Wunused-macros." }