Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.pt / conv1.C
blob7909e3f691e185354f0f8a083528b0db00fc6ef5
1 // { dg-do assemble  }
3 template <class T>
4 struct S1 {};
6 struct S2
8   template <class T>
9   operator S1<T>*();
12 struct D: public S1<int> {
15 void f()
17   S2 s;
18   (D*) s; // { dg-error "" } cannot convert