/* PBXA64 handbook-style C text example: utf8_continuations.
 * validate continuation-byte shape after a two-byte lead. This source deliberately keeps every transformation visible
 * instead of hiding it behind library calls, making it useful for tracing.
 */
int main(void) {
    unsigned char s[] = { 195, 164, 0 }; int valid = (s[0] & 224) == 192 && (s[1] & 192) == 128; return valid ? 0 : 1;
}

/* Discussion: inspect the loop bounds, byte classification, and final return
 * value. The bounded-C frontend currently records CIR0200 for all C source;
 * this example remains a real handbook program for the public C surface once
 * that frontend gate is restored. */
