summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/main1.C
blob: 4667c428243c5ece534d222adee356ac90e562c5 (plain)
1
2
3
// { dg-do compile { target c++11 } }

constexpr int main();  // { dg-error "1:cannot declare .::main. to be .constexpr." }