Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / spec20.C
blob71548e4af9bca458c8d8fea2e40c7c16909e4c4f
1 // Copyright (C) 2005 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 31 Mar 2005 <nathan@codesourcery.com>
4 // Origin: Giovanni Bajo <giovannibajo@libero.it>
5 // Bug 19203: Failure to implement DR 214
7 template <class A>
8 void foo(const A& a);
10 template <class RET, class ARG1>
11 int foo(RET (&)(ARG1)); // this one
14 float decl(int);
16 int bar(void)
18   return foo(decl);