2 // g++ 1.36.1 bug 900210_06
4 // g++ allows values of pointer-to-const types to be assigned to variables
5 // of pointer-to-non-const types.
7 // Cfront 2.0 disallows such assignments.
9 // g++ also allows values of pointer-to-volatile types to be assigned to
10 // variables of pointer-to-non-volatile types.
12 // Cfront 2.0 *would* disallow this (if it only supported "volatile").
14 // keywords: pointer types, implicit type conversions
22 cp = ccp; /* { dg-error "" } */
23 cp = vcp; /* { dg-error "" } */
26 int main () { return 0; }