Mercurial > hg > CbC > CbC_llvm
diff clang/test/Sema/aarch64-vpcs.c @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line diff
--- a/clang/test/Sema/aarch64-vpcs.c Wed Jul 21 10:27:27 2021 +0900 +++ b/clang/test/Sema/aarch64-vpcs.c Wed Nov 09 17:45:10 2022 +0900 @@ -15,5 +15,5 @@ typedef int (*fn_ty)(void); typedef int __attribute__((aarch64_vector_pcs)) (*aavpcs_fn_ty)(void); void foo4(fn_ty ptr1, aavpcs_fn_ty ptr2) { - ptr1 = ptr2; // expected-warning {{incompatible function pointer types}} + ptr1 = ptr2; // expected-error {{incompatible function pointer types}} }