1 // PR c++/51738 2 // { dg-do compile { target c++11 } } 3 4 struct Index 5 { IndexIndex6 Index(unsigned, unsigned){ } 7 }; 8 9 struct Matrix 10 { 11 void operator[](Index){ } 12 }; 13 main()14 int main() 15 { 16 Matrix m; 17 m[{0,1}]; 18 } 19