blob: d7fe145c8cce6313345a5479c3abb487aae93b93 (
plain)
1
2
3
4
|
// { dg-do preprocess }
// { dg-options "-std=gnu99 -fdiagnostics-show-option -Werror=unused-macros" }
/* { dg-message "some warnings being treated as errors" "" {target "*-*-*"} 0 } */
#define X X // { dg-error "macro \"X\" is not used .-Werror=unused-macros." }
|