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