6 // https://issues.dlang.org/show_bug.cgi?id=16538
8 const(int) retConst1();
10 auto retConst = [&retConst1, &retConst2];
12 const(int*) retConstPtr1();
13 const(int)* retConstPtr2();
14 auto retConstPtr = [&retConstPtr1, &retConstPtr2];
16 void constArray1(const(int)[1]);
17 void constArray2(const(int[1]));
18 auto constArray = [&constArray1, &constArray2];
20 const(int)[] retConstSlice1();
21 const(int[]) retConstSlice2();
22 auto retConstSlice = [&retConstSlice1, &retConstSlice2];
24 void constSlice1(const(int)[]);
25 void constSlice2(const(int[]));
26 auto constSlice = [&constSlice1, &constSlice2];
28 void ptrToConst1(const(int)*);
29 void ptrToConst2(const(int*));
30 auto ptrToConst = [&ptrToConst1, &ptrToConst2];