1*0a6a1f1dSLionel Sambuc // REQUIRES: arm-registered-target 2*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple armv8 -target-feature +neon %s -S -o /dev/null -verify -DWARN 3*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -triple armv8 -target-feature +neon %s -S -o /dev/null -Werror -verify 4*0a6a1f1dSLionel Sambuc set_endian()5*0a6a1f1dSLionel Sambucvoid set_endian() { 6*0a6a1f1dSLionel Sambuc asm("setend be"); 7*0a6a1f1dSLionel Sambuc // expected-note@1 {{instantiated into assembly here}} 8*0a6a1f1dSLionel Sambuc #ifdef WARN 9*0a6a1f1dSLionel Sambuc // expected-warning@-3 {{deprecated}} 10*0a6a1f1dSLionel Sambuc #else 11*0a6a1f1dSLionel Sambuc // expected-error@-5 {{deprecated}} 12*0a6a1f1dSLionel Sambuc #endif 13*0a6a1f1dSLionel Sambuc } 14