blob: ca4d24708a8b5bc374cc276b230f249c01c7005e [file] [log] [blame]
// PR c++/85215
// { dg-do compile { target c++11 } }
template <typename _Tp> struct vector {
vector(vector &&) noexcept;
};
template <typename T> struct any_container {
operator vector<T> &&();
};
void f (any_container<int> c)
{
vector<int> shape (c);
}