Sign in
gnu
/
gcc
/
refs/heads/devel/c++-contracts
/
.
/
gcc
/
testsuite
/
g++.dg
/
init
/
value8.C
blob: 0a9b90b64bf369613950f315ecf5029108574d3c [
file
] [
log
] [
blame
]
// PR c++/45315
struct
A
{
A
();
};
template
<
int
>
struct
B
:
A
{
void
foo
()
{
new
B
<
0
>
();
}
};
int
main
()
{
B
<
1
>().
foo
();
}