Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice6.C
blob: bf95b2443c79e83a6cc08dd1eb8fa9d9990051cf [
file
] [
log
] [
blame
]
// PR c++/51327
// { dg-do compile { target c++11 } }
struct
A
{
A
(
int
);
};
struct
B
:
A
{};
// { dg-message "" }
constexpr
int
foo
(
B
)
{
return
0
;
}
// { dg-error "invalid type" }