summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.test-framework/dg-outexists-exp-F.c
blob: 34968a547f6e0ed109f24ff66f219409371a5819 (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 { target *-*-* } } } */