f22967f31a
* decl.c (grokfndecl): Require that `main' return an `int'. * mangle.c (write_encoding): Don't mangle return types for conversion functions. From-SVN: r35972
5 lines
123 B
C
5 lines
123 B
C
// Build don't link:
|
|
// Origin: Mark Mitchell <mark@codesourcery.com>
|
|
|
|
double main () {} // ERROR - main must return `int'
|