summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/constexpr-diag2.C
blob: c78416ec1a333feead4a83a8f73f43c140deef14 (plain)
1
2
3
4
5
// PR c++/47207
// { dg-options -std=c++0x }

constexpr int X (X);		// { dg-error "not usable" }
// { dg-message "own initializer" "" { target *-*-* } 4 }