blob: 4d9cc25ff7ed27ca9604ccdf7f6047e304070f69 (
plain)
1
2
3
4
5
6
|
/* Test diagnostic for an empty source file. Test with -pedantic. */
/* Origin: Joseph Myers <joseph@codesourcery.com> */
/* { dg-do compile } */
/* { dg-options "-pedantic" } */
/* { dg-warning "ISO C forbids an empty source file" "empty" { target *-*-* } 6 } */
|