Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/factory-ryu-6486.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice6.C
blob: 30e0a643bcb135c4f33d4f8a501df4683ca28276 [
file
] [
log
] [
blame
]
// PR c++/51327
// { dg-do compile { target c++11 } }
struct
A
{
A
(
int
);
};
struct
B
:
A
{};
// { dg-error "no matching" }
constexpr
int
foo
(
B
)
{
return
0
;
}
// { dg-error "invalid type" }