1 // PR c++/91889 - follow-up fix for DR 2352.
2 // { dg-do compile { target c++11 } }
7 void f1 (const int *const &);
10 void f2 (const int *&);
12 void f3 (const int *);
13 void f3 (int *const &);
16 void f4 (int *const &);
18 void f5 (const int *&);
19 void f5 (int *const &);
21 void f6 (int *const &);
22 void f6 (const int *const &);
24 void f7 (int **const);
25 void f7 (const int *const *const &);
27 void f8 (const int *const *);
28 void f8 (const int *const *const &);
30 void f9 (int *const *);
31 void f9 (const int *const *const &);
34 g (int *p, const int *pc, const int **q)
50 --S1 and S2 differ only in their qualification conversion and yield
51 similar types T1 and T2 (_conv.qual_), respectively, and the cv-
52 qualification signature of type T1 is a proper subset of the cv-
53 qualification signature of type T2 */
54 f8 (q); // { dg-error "call of overloaded" }