summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/cpp/warn-unused-macros.c
blob: e1ce94eeee6179061135eb40e47abf75898541b0 (plain)
1
2
3
4
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Wunused-macros" }

#define X X  // { dg-warning "macro \"X\" is not used .-Wunused-macros." }