blob: 0b1e3ae072e52be3bca79fee0c16ff00a53ba975 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// { 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);
}
|