Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
()
{}