]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/weak-def-flag/main-strip-weak.c
ld64-97.17.tar.gz
[apple/ld64.git] / unit-tests / test-cases / weak-def-flag / main-strip-weak.c
1 #include <stdio.h>
2
3 // the 'l' prefix makes this an auto-strip symbol
4 void my_auto_strip_weak() __asm ( "lautostrip" );
5
6 void __attribute__((weak)) my_auto_strip_weak()
7 {
8
9 }
10
11 int main()
12 {
13 my_auto_strip_weak();
14 return 0;
15 }
16