Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / empty-source-2.c
blob8ce201c13cd4cb987a751f42457331025c14e602
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 "ISO C forbids an empty translation unit" "empty" { target *-*-* } 6 } */