]>
gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/gcc.dg/c90-return-1.c
1 /* Test for constraints on return statements. */
2 /* Origin: Joseph Myers <jsm28@cam.ac.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-std=iso9899:1990 -pedantic-errors" } */
15 return 1; /* { dg-bogus "warning" "warning in place of error" } */
16 /* { dg-error "with a value" "return constraint violation" { target *-*-* } 15 } */
This page took 0.038607 seconds and 5 git commands to generate.