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++.pt
/
friend36.C
blob
051803b2e3dbeb2a02f2ed4972a6f573e5327168
1
// { dg-do assemble }
2
3
template <class T>
4
void f(T) {} // { dg-error "" } previously defined here
5
6
template <class U>
7
struct S {
8
template <class T>
9
friend void f(T) {} // { dg-error "" } redeclaration
10
};
11
12
S<int> si;