☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
template
/
array6.C
☽
☼
gcc/testsuite/g++.dg/template/array6.C
code
plain
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
}