blob: 0b1e3ae072e52be3bca79fee0c16ff00a53ba975 [file] [log] [blame]
// { dg-do assemble }
template <class T>
struct S1
{
};
template <class T>
struct S2
{
typedef T* pointer_t;
};
int f(S2<S1<int> >::pointer_t p1, S2<S1<int> >::pointer_t p2)
{
return (int) (p1 - p2);
}