mirror of
https://github.com/darlinghq/darling-objc4.git
synced 2025-03-01 10:48:37 +00:00
15 lines
275 B
C
15 lines
275 B
C
// TEST_CONFIG OS=iphoneos ARCH=arm64
|
|
|
|
#include "test.h"
|
|
|
|
#ifndef __arm64__
|
|
#error wrong architecture for TBI hardware feature
|
|
#endif
|
|
|
|
volatile int x = 123456;
|
|
|
|
int main(void) {
|
|
testassert(*(int *)((unsigned long)&x | 0xFF00000000000000ul) == 123456);
|
|
succeed(__FILE__);
|
|
}
|