summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-98.C
blob: 4ae3944c34d4c9fbbd5a56bb857cc77015085fee (plain)
1
2
3
4
// { dg-options "-std=c++98" }

constexpr int i = 42;	  // { dg-message "std=c\\+\\+0x" }
// { dg-error "constexpr" "" { target *-*-* } 3 }