Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.robertl / ebnull-oldcast.C
blobbe3a5644ff3948ac4fa1452bcb49084ccc3e8dc5
1 // { dg-do run  }
2 class null {
3     null (null const&);
4     void operator& ();
6   public:
7     null () {}
9     template <typename T>
10     operator T* () const { return 0; }
11 } const null;
13 int main ()
15     int *p = (int*) null;
17     return 0;