test for C ret code