// { dg-do compile { target c++11 } } template struct list {}; template struct vector { operator T() const; }; void f() { vector> v; const vector vi = static_cast>(v); }