diff options
| -rw-r--r-- | clang/test/Headers/arm-neon-header.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clang/test/Headers/arm-neon-header.c b/clang/test/Headers/arm-neon-header.c new file mode 100644 index 00000000000..3c2a7359082 --- /dev/null +++ b/clang/test/Headers/arm-neon-header.c @@ -0,0 +1,9 @@ +// RUN: %clang_cc1 -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s +// RUN: %clang_cc1 -x c++ -triple thumbv7-apple-darwin10 -target-cpu cortex-a8 -fsyntax-only -Wvector-conversions -verify %s + +#include <arm_neon.h> + +// Radar 8228022: Should not report incompatible vector types. +int32x2_t test(int32x2_t x) { + return vshr_n_s32(x, 31); +} |

