Merge reload-branch up to revision 101000
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.other / debug1.C
blob58fd2ca196f54af954a0b37d5badfc7949bf660d
1 // { dg-do assemble  }
2 // { dg-options "-g" }
4 typedef unsigned int size_t;
7 struct dummy { };
9 struct arrrrrgh { };
12 template<class Par,class Rand = arrrrrgh>
13 struct whyyyyyyy { };    
18 template<class T, class S =dummy> 
19 struct grrrrrrrr { };         
22 template<class Par, class Par2 =Par, class Rand =arrrrrgh>
23 class no_future
25 public:
27    
28   template<class S>
29   no_future(const grrrrrrrr<whyyyyyyy<Par,Rand>*,S>& man )  { }
31   ~no_future( ) { }
33 private:
35    
36   no_future(const no_future&);
37   no_future& operator=(const no_future&);
38 };       
41 int main( )
43   grrrrrrrr<whyyyyyyy<double>*> man;
45   no_future<double> here(man);
47   return 0;