1 // g++ 1.36.1 bug 900210_06
3 // g++ allows values of pointer-to-const types to be assigned to variables
4 // of pointer-to-non-const types.
6 // Cfront 2.0 disallows such assignments.
8 // g++ also allows values of pointer-to-volatile types to be assigned to
9 // variables of pointer-to-non-volatile types.
11 // Cfront 2.0 *would* disallow this (if it only supported "volatile").
13 // keywords: pointer types, implicit type conversions
21 cp = ccp; /* ERROR - */
22 cp = vcp; /* ERROR - */
25 int main () { return 0; }