LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / empty-source-3.c
blobf8c58b3ef3fd503317d1472d089ff3b695113c03
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" } */