/* Test whether a basic strcoll invocation works. */ #include #include "../basic.h" int main(void) { char a[8] = "abcdefg"; char b[8] = "abcdeFG"; int comparison = strcoll(a, b); if ( comparison <= 0 ) errx(1, "strcoll gave %d instead of non-negative", comparison); return 0; }