// { dg-do compile { target c++11 } } constexpr int main (); // { dg-error "constexpr" }