diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/lto/20080924_0.C')
-rw-r--r-- | gcc/testsuite/g++.dg/lto/20080924_0.C | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.dg/lto/20080924_0.C b/gcc/testsuite/g++.dg/lto/20080924_0.C new file mode 100644 index 00000000000..b1e381351bb --- /dev/null +++ b/gcc/testsuite/g++.dg/lto/20080924_0.C @@ -0,0 +1,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 }; +} |