]>
git.proxmox.com Git - rustc.git/blob - src/compiler-rt/test/cfi/icall/weak.c
1 // Test that weak symbols stay weak.
2 // RUN: %clang_cfi -lm -o %t1 %s && %t1
5 __attribute__((weak
)) void does_not_exist(void);
7 __attribute__((noinline
))
8 void foo(void (*p
)(void)) {
12 int main(int argc
, char **argv
) {