Debian Codegraph @

gcc/testsuite/g++.dg/lto/pr96690_0.C

raw
1 // { dg-lto-do assemble }
2 // { dg-lto-options { { -flto -ffat-lto-objects -g } } }
3 struct A { A (int); };
4 template <class T> class B { T f; };
5 unsigned char *foo (int *, bool *, const int &);
6 template <typename, unsigned char *F (int *, bool *, const int &)> struct C {};
7 struct D { B<C<unsigned char, foo> > d; };
8 struct E { D e; };
9 struct F {};
10 struct G { static int bar (A, F, E, int); };
11
12 void
13 baz ()
14 {
15 F f;
16 G::bar (0, f, E (), 0);
17 }