libcpp, c, middle-end: Optimize initializers using #embed in C
[official-gcc.git] / gcc / testsuite / gcc.dg / empty-source-3.c
blobf2877159fe4ae5184c5f215e041009cb58970264
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" } */
7 /* { dg-error "-:ISO C forbids an empty translation unit" "empty" { target *-*-* } .+1 } */