1 /* Compile with: 2 clang -arch armv7 -arch armv7m -arch armv7em -arch x86_64 -arch x86_64h -c 3 */ 4 5 #ifdef __x86_64h__ x86_64h_function()6void x86_64h_function() {} 7 #elif defined(__x86_64__) x86_64_function()8void x86_64_function() {} 9 #elif defined(__ARM_ARCH_7EM__) armv7em_function()10void armv7em_function() {} 11 #elif defined(__ARM_ARCH_7M__) armv7m_function()12void armv7m_function() {} 13 #elif defined(__ARM_ARCH_7A__) armv7_function()14void armv7_function() {} 15 #endif 16