4 fail_compilation/issue22820.d(138): Error: upper and lower bounds are needed to slice a pointer
5 fail_compilation/issue22820.d(138): pointer `s1` points to an aggregate that defines an `opIndex`, perhaps you meant `(*s1)[]`
6 fail_compilation/issue22820.d(139): Error: upper and lower bounds are needed to slice a pointer
7 fail_compilation/issue22820.d(139): pointer `s2` points to an aggregate that defines an `opSlice`, perhaps you meant `(*s2)[]`
8 fail_compilation/issue22820.d(140): Error: upper and lower bounds are needed to slice a pointer
9 fail_compilation/issue22820.d(140): pointer `s3` points to an aggregate that defines an `opIndex`, perhaps you meant `(*s3)[]`
10 fail_compilation/issue22820.d(141): Error: upper and lower bounds are needed to slice a pointer
11 fail_compilation/issue22820.d(141): pointer `cp` points to an aggregate that defines an `opIndex`, perhaps you meant `(*cp)[]`
12 fail_compilation/issue22820.d(142): Error: upper and lower bounds are needed to slice a pointer
13 fail_compilation/issue22820.d(142): pointer `e` points to an aggregate that defines an `opIndex`, perhaps you meant `(*e)[]`
21 int[] opIndex() { return a
; }
25 // opSlice alternative
27 int[] opSlice() { return a
; }
33 int[] opIndex()() { return a
; }
38 int[] opIndex()() { return a
; }