1 2 3
// { dg-do compile { target c++11 } } constexpr int main(); // { dg-error "1:cannot declare .::main. to be .constexpr." }