repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
linkage6.C
blob
516a24267d0ffdc3c90eb504b746d0b6159e89b7
1
// { dg-do assemble }
2
// { dg-options "-fno-weak" }
3
// Origin: Mark Mitchell <mark@codesourcery.com>
4
5
template <typename T>
6
void f ();
7
8
void h () { f<int> (); }
9
10
template <void (*X)()>
11
void g () {}
12
13
template <typename T>
14
void f ()
15
{
16
g<&f<T> >();
17
}
18