Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
diagnostic
/
pr60862.C
blob: cc5279cde6b20792eacfbfa5e799fb529493fea6 [
file
] [
log
] [
blame
]
// PR c++/60862
// { dg-do compile }
extern
void
**
bar
(
int
,
void
*,
int
);
void
foo
(
int
x
,
int
y
)
{
int
**
s
=
bar
(
x
,
&
x
,
y
);
// { dg-error "17:invalid conversion" }
}