From f2a071e808db2896823463089531e08d0b2d0ee8 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Sun, 4 Sep 2016 00:19:47 +0200 Subject: Fix aliases on 64 bit Use correct width ELF structure. --- tests/tcctest.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/tcctest.c') 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; } -- cgit v1.3.1