Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.jason / hmc1.C
blob52f3a4a6b909a4adfd9749a66492d01617a67b63
1 // { dg-do assemble  }
2 // GROUPS passed templates default-arguments
3 template <class I>
4 class Class {
5 public:
6   void func1(int n=1);
7   void func2(int d) {}
8 };
9 template <class I> 
10 void Class<I>::func1(int n) {}
12 //if this is replaced by:
13 //void Class<I>::func1(int n=1) {}
14 //the code compiles.
16 int main() {
17   Class<int> C;
18   return 0;