Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-diag2.C
blob: 04db4b3313e3af756c9e07fb9f5586f94fa0b46e [
file
] [
log
] [
blame
]
// PR c++/47207
// { dg-do compile { target c++11 } }
constexpr
int
X
(
X
);
// { dg-error "not usable" }
// { dg-message "own initializer" "" { target *-*-* } 4 }