// S : tags libc c // S : expect --result valid // S : cc -o test.bc -D_PDCLIB_BUILD -DTEST $file // S : verify -o nofail:malloc test.bc #include #include "_PDCLIB_test.h" int main( void ) { TESTCASE(iswgraph(L'a')); TESTCASE(iswgraph(L'z')); TESTCASE(iswgraph(L'E')); TESTCASE(!iswgraph(L' ')); TESTCASE(!iswgraph(L'\t')); TESTCASE(!iswgraph(L'\n')); return TEST_RESULTS; }