LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / inline-9.c
blobc8dda536014569d422302ffc73928b8886f892ea
1 /* Test inline main, gnu99 mode, hosted, -pedantic-errors. */
2 /* Origin: Joseph Myers <jsm@polyomino.org.uk> */
3 /* { dg-do compile } */
4 /* { dg-options "-std=gnu99 -fhosted -pedantic-errors" } */
6 inline int main (void); /* { dg-error "cannot inline function 'main'" } */