Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Sema/arm-microsoft-intrinsics.c @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // RUN: %clang_cc1 -triple armv7 -fms-extensions -fsyntax-only -ffreestanding -verify %s |
2 | |
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}} | |
5 } | |
6 | |
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}} | |
9 } |