2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / ebnull.C
blobfda61cc1a5856faaa8e7afa727fff4357b3362e5
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 = null;
17     return 0;