// PR c++/109464 // { dg-do compile { target c++11 } } template struct shallow { int len; constexpr shallow() : len(0) { } }; template struct use_shallow { static constexpr shallow s_zstr = { }; static_assert(s_zstr.len == 0, ""); }; extern template struct shallow; extern template struct use_shallow; template struct shallow; template struct use_shallow; // { dg-final { scan-assembler "_ZN7shallowIcEC2Ev" } }