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
* passes.c (ipa_write_summaries): Only modify statements if body
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
lto
/
20081120-2_0.C
blob
8deae1bb6bab5e55a2eea3b3f41baba67c27d6a5
1
// { dg-lto-do link }
2
// { dg-lto-options {{-flto -r -nostdlib}} }
3
/* { dg-extra-ld-options "-flinker-output=nolto-rel" } */
4
template < typename > struct Foo
5
{
6
inline void rdstate() {
7
}
8
};
9
10
extern template struct Foo<int>;
11
12
struct Bar:virtual public Foo<int>
13
{
14
};