[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Sema / arm-neon-decl-after-stmt.c
blobc6529445c6f5bfc65cdf5e50454cef89473d08db
1 // RUN: %clang_cc1 -triple armebv7-linux-gnueabihf -target-feature +neon \
2 // RUN: -Wdeclaration-after-statement -fsyntax-only -verify %s
3 // REQUIRES: arm-registered-target
4 // https://github.com/llvm/llvm-project/issues/54062
5 #include <arm_neon.h>
7 uint8x16_t a;
9 uint8x16_t x(void) {
10 return vshrq_n_u8(a, 8);
12 // expected-no-diagnostics