]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/initializer-bounds-check/foo2.c
dyld-732.8.tar.gz
[apple/dyld.git] / unit-tests / test-cases / initializer-bounds-check / foo2.c
1 #include <stdio.h> // fprintf(), NULL
2 #include <stdlib.h> // exit(), EXIT_SUCCESS
3
4 #include "test.h" // PASS(), FAIL(), XPASS(), XFAIL()
5
6 __attribute__((constructor))
7 void secondInit()
8 {
9 FAIL("initializer-bounds-check, second init called");
10 exit(0);
11 }
12