Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
crash32.C
blob: 88ec42bece7c9c24db0221edd931402247e3d3f5 [
file
] [
log
] [
blame
]
// { dg-do compile }
struct
Visitor
;
struct
Ast
{
virtual
void
accept
(
Visitor
&
v
);
};
void
Ast
::
accept
(
Visitor
&
v
)
{
v
(*
this
);
// { dg-error "no match for call" }
}