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