Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr54310.C
blob: 94e5f2494c7d955ad85d723f93a4b6c8270836f6 [
file
] [
log
] [
blame
]
// PR c++/54310
template
<
typename
T
>
struct
meta
{
typedef
typename
T
::
type type
;
};
struct
S
{};
template
<
typename
T
>
typename
meta
<
T
>::
type foo
(
T
,
S
);
int
foo
(
int
,
int
);
int
main
()
{
foo
(
0
,
0
);
}