summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/main2.C
blob: 26013e4e7c1742145375844624084d58b9a5b136 (plain)
1
2
3
4
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

double main () {} // { dg-error "" } main must return `int'