1 /* Test diagnostic for an empty source file. Test with
2 -pedantic-errors. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-pedantic-errors" } */
6
7 /* { dg-error "-:ISO C forbids an empty translation unit" "empty" { target *-*-* } .+1 } */