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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20081120-2_0.C
blob
3efe26c0197d0a55ab36d96a22f7d93ffa10570f
1
// { dg-lto-do link }
2
// { dg-lto-options {{-flto -r -nostdlib}} }
3
template < typename > struct Foo
4
{
5
inline void rdstate() {
6
}
7
};
8
9
extern template struct Foo<int>;
10
11
struct Bar:virtual public Foo<int>
12
{
13
};