]> git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/segment-labels/test.c
ld64-123.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / segment-labels / test.c
1 extern char text_start[] __asm("segment$start$__TEXT");
2 extern char text_end[] __asm("segment$end$__TEXT");
3 extern char text_text_start[] __asm("section$start$__TEXT$__text");
4
5 void* a = &text_start;
6 void* b = &text_end;
7 void* c = &text_text_start;
8
9 void start(void)
10 {
11 }
12