Sign in
gnu
/
gcc
/
418f81eefb6540582e4818225404d4a647ad67eb
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash39.C
blob: 2c4bb5a4115dbd122822af5f02c21764b5e933e2 [
file
] [
log
] [
blame
]
// Build don't link:
// Origin: Ian Nixon <ian@tharas.com>
class
Action
{
public
:
virtual
void
action
()
=
0
;
};
class
Var
{
public
:
template
<
class
Base
>
void
Add
()
{
struct
tmp
:
public
Action
{
void
action
()
{}
};
tmp
*
tp
=
new
tmp
;
}
};