summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.robertl/eb122.C
blob: f52017194e879ea80e081fb560f334a643b9646e (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-do assemble  }
// { dg-options "" }
// Disable -ansi -pedantic-errors because of GNU extension
template<class foo>
class bar {
public:
  void baz() { (({ while( foo::baz() );})); }
};
template<class foo>
void baz() { (({ while( foo::baz() );})); }