2 // { dg-do compile { target c++11 } }
4 template<typename T, unsigned int N>
13 int operator[](const Array<int, 2>& i) const { return 0; }
14 auto bar() -> decltype((*this)[{1,2}] * 0) {
15 return *this; // { dg-error "cannot convert" }
19 template struct Foo<int>;