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
Skip analyzer strndup test on hppa*-*-hpux*
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
friend36.C
blob
f6f261ba07f085b9a7fd4b9bb001cf950044c3b0
1
// { dg-do assemble }
2
3
template <class T>
4
void f(T) {} // { dg-message "previously" }
5
6
template <class U>
7
struct S {
8
template <class T>
9
friend void f(T) {} // { dg-error "redefinition" }
10
};
11
12
S<int> si;