diff options
Diffstat (limited to '')
-rw-r--r-- | test cases/common/42 subproject/user.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test cases/common/42 subproject/user.c b/test cases/common/42 subproject/user.c new file mode 100644 index 0000000..9181622 --- /dev/null +++ b/test cases/common/42 subproject/user.c @@ -0,0 +1,16 @@ +#include<subdefs.h> +#include<stdio.h> + + +int main(void) { + int res; + printf("Calling into sublib now.\n"); + res = subfunc(); + if(res == 42) { + printf("Everything is fine.\n"); + return 0; + } else { + printf("Something went wrong.\n"); + return 1; + } +} |