1 // { dg-options "-std=c++98" } 2 3 constexpr int i = 42; // { dg-message "std=c\\+\\+11" } 4 // { dg-error "constexpr" "" { target *-*-* } .-1 } 5