// PR c++/112365 // { dg-do compile { target c++11 } } // { dg-excess-errors "" } template struct A; template A foo (T; template struct A { constexpr A : T {} } struct { bar ( { foo (this)