annotate clang/test/Sema/arm-microsoft-intrinsics.c @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple armv7 -fms-extensions -fsyntax-only -ffreestanding -verify %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 unsigned int test_MoveFromCoprocessor(const unsigned int value) {
anatofuz
parents:
diff changeset
4 return _MoveFromCoprocessor(value, 1, 2, 3, 4); // expected-error-re {{argument to {{.*}} must be a constant integer}}
anatofuz
parents:
diff changeset
5 }
anatofuz
parents:
diff changeset
6
anatofuz
parents:
diff changeset
7 void test_MoveToCoprocessor(const unsigned int value) {
anatofuz
parents:
diff changeset
8 _MoveToCoprocessor(1, 2, value, 3, 4, 5); // expected-error-re {{argument to {{.*}} must be a constant integer}}
anatofuz
parents:
diff changeset
9 }