2 // { dg-do compile { target c++11 } }
3 // { dg-require-effective-target lto }
4 // { dg-additional-options "-g -O -flto" }
6 namespace { class A {}; }
8 template <typename T> struct H {
9 constexpr static unsigned h = 0;
12 template <typename T> A bar ()
23 bar<B>; // only mentions the function