Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
casting-operator1.C
blob: 867221a35a56b93c3606a79e8a197fe741f6265b [
file
] [
log
] [
blame
]
// PR c++/8578
// Origin: <Delana.Lorenzo@libero.it>
// { dg-do compile }
template
<
typename
T
>
struct
A
{
typedef
typename
T
::
X X
;
operator
X
();
};
template
<
typename
T
>
A
<
T
>::
operator
typename
A
<
T
>::
X
()
{}