Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
inherit
/
pr57942.C
blob: 580e9ecd2427a73263dca663294f49f8f44ef26f [
file
] [
log
] [
blame
]
// PR c++/57942
template
<
typename
T
>
struct
S
{
typename
T
::
error type
;
};
struct
X
{};
void
f
(
S
<int>
*);
void
f
(...);
void
g
()
{
f
((
X
*)
0
);
}
struct
Y
;
void
h
()
{
f
((
Y
*)
0
);
}