Debian Codegraph @

gcc/testsuite/g++.dg/template/array6.C

raw
1 // PR c++/15287
2
3 struct S {};
4
5 struct Array {
6 S operator[](int);
7 } array;
8
9 void (S::*mem_fun_ptr)();
10
11 template <int> void foo() {
12 (array[0].*mem_fun_ptr)();
13 }