complier is error ,following is program #include <reg52.h> #include <stdio.h> unsigned int i; sbit Test=P1^0; main() { i=(int *)Test; } error info is : error c253:INTERNAL ERROR(ASMGEN - TRIPLE=00D[00A5A202])
Obviously what the program attempted to do was impossible. It would be nice if the compiler simpler gave an informative error message, e.g. "Cannot create pointer to bit variable", rather than generating an obscure internal error.