OSDN Git Service

* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.old-deja / g++.pt / pointer1.C
1 // { dg-do assemble  }
2
3 template <class T>
4 struct S1
5 {
6 };
7
8 template <class T>
9 struct S2
10 {
11   typedef T* pointer_t;
12 };
13
14 int f(S2<S1<int> >::pointer_t p1, S2<S1<int> >::pointer_t p2)
15 {
16   return (int) (p1 - p2);
17 }