Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.old-deja / g++.pt / unify7.C
blobfb7e6b02659fd35e4cb31b690f2352a1f95a1da7
1 // { dg-do assemble  }
3 // Copyright (C) 2000 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 26 Feb 2000 <nathan@codesourcery.com>
6 // template functions can be distinguished by return type alone. The return
7 // type may also be a template parameter. 
9 template <typename C> C foo ();    // { dg-bogus "" } 
11 void g ()
13   int (*pfn1) () = &foo;    // { dg-bogus "" } 
14   void (*pfn2) () = &foo;   // { dg-bogus "" }