everest% cc types2.c
"types2.c", line 23: error(1515): a value of type "int *" cannot be assigned
          to an entity of type "int"
     test = *ptr1 ; /* wrong type! */
          ^

"types2.c", line 26: error(1138): expression must have pointer-to-object type
     test = (*ptr2)[0] ; /* wrong type! */
                    ^

2 errors detected in the compilation of "types2.c".
everest% 
