Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-ice15.C
blob: 576fd41508508dccba59a517476e6da968671ad4 [
file
] [
log
] [
blame
]
// PR c++/58207
// { dg-do compile { target c++11 } }
struct
A
{
virtual
bool
foo
();
};
struct
B
:
public
A
{
constexpr
B
()
:
A
(&::
n
)
{}
// { dg-error "declared" }
};