aboutsummaryrefslogtreecommitdiff
path: root/tests/tcctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcctest.c')
-rw-r--r--tests/tcctest.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index 4e51ea1..d1f6c9b 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -2962,6 +2962,7 @@ void __attribute__((weak)) weak_test(void)
printf("weak_asm_v1=%d\n",&weak_asm_v1 != NULL);
printf("weak_asm_v2=%d\n",&weak_asm_v2 != NULL);
printf("weak_asm_v3=%d\n",&weak_asm_v3 != NULL);
+ printf("some_lib_func=%d\n", &some_lib_func ? some_lib_func() : 0);
}
int __attribute__((weak)) weak_f2() { return 222; }