Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / cond3.C
blobe82b686e92ec0d8ff9bfde53ec0aba611b81b372
1 // { dg-do assemble  }
2 // Origin: Loring Holden <lsh@lsh.cs.brown.edu>
4 template <class T>
5 class REFptr {
6    public:
7       operator T* () const;
8 };
10 class CamFocus;
11 typedef REFptr<CamFocus> CamFocusptr;
13 class CamFocus {
14    protected:
15       static CamFocusptr  _focus;
16    public :
17       static CamFocusptr &cur() { return _focus; }
20 void
21 test()  
23    if (CamFocus::cur()) {
24    }