// S : tags error min c $TAGS // S : expect --result error --location-comment ERROR // S : cc -o test.bc $CC_OPT $file // S : verify $V_OPT test.bc #include #include int main() { char array[20]; array[0] = 'a'; array[10] = 'b'; assert( *(array + 10) == 'b' ); uint64_t aint = array; aint += (uint64_t)(1) << 33; char *achar = aint; assert( *achar == 'a' ); /* ERROR */ }