1 /* { dg-do compile } */
2 /* { dg-options "-Wunused-value -Werror" } */
4 int main (void) { 0; } /* { dg-error "no effect" } */
6 /* { dg-message "warnings being treated as errors" "" { target *-*-* } 0 } */
7 /* { dg-final { output-exists { target *-*-* } } } */