]> git.saurik.com Git - apple/objc4.git/blame - test/tbi.c
objc4-818.2.tar.gz
[apple/objc4.git] / test / tbi.c
CommitLineData
13ba007e
A
1// TEST_CONFIG OS=iphoneos ARCH=arm64
2
3#include "test.h"
4
5#ifndef __arm64__
6#error wrong architecture for TBI hardware feature
7#endif
8
9volatile int x = 123456;
10
11int main(void) {
12 testassert(*(int *)((unsigned long)&x | 0xFF00000000000000ul) == 123456);
13 succeed(__FILE__);
14}