OSDN Git Service

* gcc.dg/vect/vect-116.c: Add vect_int target requirement.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / extra-semi-2.c
1 /* Test diagnostic for extra semicolon outside a function.  Test with
2    -pedantic.  */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-pedantic" } */
6
7 ; /* { dg-warning "warning: ISO C does not allow extra ';' outside of a function" } */