summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lto/20080924_0.C
blob: b1e381351bb4ee230c5b04c0e0f31a1ca274284a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-lto-do assemble }
// { dg-lto-options {{-O2 -flto -fno-strict-aliasing}} }

namespace ns
{
  template <class> class hash_set { };
}

struct Foo
{
  long long f1, f2, f3;
};

void func(ns::hash_set<int>) {
  Foo foo = { 0, 0, 0 };
}