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