Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
crash39.C
blob: a8f70aa30bc9d76cc32ee262444a801917311cf0 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// 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
;
}
};