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++.dg
/
template
/
friend16.C
blob
3165ed2b59d8ab404c3bd18054cdd5c87b3ffdcc
1
// { dg-do compile }
2
3
// Origin: Wolfgang Bangerth <bangerth@ticam.utexas.edu>
4
5
// PR c++/9602: Inline friend/pure virtual tree data sharing in
6
// class template.
7
8
template <typename T> struct X {
9
void foo (X);
10
friend void bar () {}
11
};
12
13
template <typename T>
14
void X<T>::foo (X x) {}
15
16
template struct X<int>;