blob: c8dda536014569d422302ffc73928b8886f892ea [file] [log] [blame]
/* Test inline main, gnu99 mode, hosted, -pedantic-errors. */
/* Origin: Joseph Myers <jsm@polyomino.org.uk> */
/* { dg-do compile } */
/* { dg-options "-std=gnu99 -fhosted -pedantic-errors" } */
inline int main (void); /* { dg-error "cannot inline function 'main'" } */