61f4f1cc JM |
1 | /* Test inline main, gnu99 mode, hosted. */ |
2 | /* Origin: Joseph Myers <jsm@polyomino.org.uk> */ |
3 | /* { dg-do compile } */ |
4 | /* { dg-options "-std=gnu99 -fhosted" } */ |
5 | |
ad0637fd |
6 | inline int main (void); /* { dg-warning "cannot inline function 'main'" } */ |