Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / spec34.C
blob01fc61d293bca61e437c093b93ef27a8f38e77a0
1 // { dg-do assemble  }
3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 17 Jan 2001 <nathan@codesourcery.com>
6 // Bug 1632. In copying default args from a template to a specialization, we
7 // lost the object's CV quals, leading to an utterly confusing error message.
9 struct X;
11 template <int dim> struct Y
13   X *f (int i = 0) const;
16 template <> X *Y<2>::f (int i) const
18   return f (i);