[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / Sema / arm-microsoft-intrinsics.c
blob0637d98d76061cd669135f8b7d068718c9444190
1 // RUN: %clang_cc1 -triple armv7 -fms-extensions -fsyntax-only -ffreestanding -verify %s
3 unsigned int test_MoveFromCoprocessor(const unsigned int value) {
4 return _MoveFromCoprocessor(value, 1, 2, 3, 4); // expected-error-re {{argument to {{.*}} must be a constant integer}}
7 void test_MoveToCoprocessor(const unsigned int value) {
8 _MoveToCoprocessor(1, 2, value, 3, 4, 5); // expected-error-re {{argument to {{.*}} must be a constant integer}}