blob: 6f5c2972078786b414ff34d72efb0e76f43e7f40 [file] [log] [blame]
// { dg-do compile { target c++11 } }
template<typename T>
struct list {};
template<typename T>
struct vector {
operator T() const;
};
void f()
{
vector<vector<int>> v;
const vector<int> vi = static_cast<vector<int>>(v);
}