summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.test-framework/dg-outexistsnot-exp-P.c
blob: 00260062f7d27f57c9147c95ed55cd4b21342303 (plain)
1
2
3
4
5
6
7
/* { dg-do compile } */
/* { dg-options "-Wunused-value -Werror" } */

int main (void) { 0; }   /* { dg-error "no effect" } */

/* { dg-message "warnings being treated as errors" "" { target *-*-* } 0 } */
/* { dg-final { output-exists-not { target *-*-* } } } */