2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.robertl / eb122.C
blobf52017194e879ea80e081fb560f334a643b9646e
1 // { dg-do assemble  }
2 // { dg-options "" }
3 // Disable -ansi -pedantic-errors because of GNU extension
4 template<class foo>
5 class bar {
6 public:
7   void baz() { (({ while( foo::baz() );})); }
8 };
9 template<class foo>
10 void baz() { (({ while( foo::baz() );})); }