]> git.saurik.com Git - apple/dyld.git/blob - testing/test-cases/upward-links-initializers.dtest/value.c
dyld-851.27.tar.gz
[apple/dyld.git] / testing / test-cases / upward-links-initializers.dtest / value.c
1 #include "test_support.h"
2
3 static int initValue = 0;
4
5 void checkInitOrder(int expected)
6 {
7 initValue++;
8 if ( initValue != expected)
9 FAIL("Wrong init value in bar: %d, should have been %d.", initValue, expected);
10 }