summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20081120-2_0.C
blob: 3efe26c0197d0a55ab36d96a22f7d93ffa10570f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-lto-do link }
// { dg-lto-options {{-flto -r -nostdlib}} }
template < typename > struct Foo
{
 inline void rdstate() {
 }
};

extern template struct Foo<int>;

struct Bar:virtual public Foo<int>
{
};