/* This test comes from ISO C Corrigendum 1. */#include <stdio.h>intmain(int argc,char*argv[]){int d1, n1, n2, i;#define NOISE 1234567int d2 = NOISE;
i =sscanf("123","%d%n%n%d", &d1, &n1, &n2, &d2);return i !=3|| d1 !=123|| n1 !=3|| n2 !=3|| d2 != NOISE;}