Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / g++.dg / template / unify7.C
blob3f7028b642ffca10c9af95cf29942325110cda30
1 // Copyright (C) 2004 Free Software Foundation, Inc.
2 // Contributed by Nathan Sidwell 1 Apr 2004 <nathan@codesourcery.com>
4 // PR c++/3518
5 template <typename T> void Foo (const T &);
6 template <typename T> void Baz (const T (*)());
8 int &f ();
10 int main()
12   Foo (f);
13   Baz (f); // { dg-error "no matching function" "" }