This commit was manufactured by cvs2svn to create branch
[official-gcc.git] / gcc / testsuite / gcc.dg / empty-source-2.c
blob6f54f03d82f66fb2a0176fbdf54b256a268245ca
1 /* Test diagnostic for an empty source file. Test with -pedantic. */
2 /* Origin: Joseph Myers <joseph@codesourcery.com> */
3 /* { dg-do compile } */
4 /* { dg-options "-pedantic" } */
6 /* { dg-warning "warning: ISO C forbids an empty source file" "empty" { target *-*-* } 1 } */