Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/constexpr-diag2.C

raw
1 // PR c++/47207
2 // { dg-do compile { target c++11 } }
3
4 constexpr int X (X); // { dg-error "not usable" }
5 // { dg-message "own initializer" "" { target *-*-* } .-1 }