Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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" }
}