Mercurial > hg > CbC > CbC_llvm
diff clang/test/Sema/callingconv-ms_abi.c @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 0572611fdcc8 |
children |
line wrap: on
line diff
--- a/clang/test/Sema/callingconv-ms_abi.c Wed Jul 21 10:27:27 2021 +0900 +++ b/clang/test/Sema/callingconv-ms_abi.c Wed Nov 09 17:45:10 2022 +0900 @@ -4,6 +4,6 @@ void (*pfoo)(void) = foo; void __attribute__((sysv_abi)) bar(void); -void (*pbar)(void) = bar; // expected-warning{{incompatible function pointer types}} +void (*pbar)(void) = bar; // expected-error{{incompatible function pointer types}} -void (__attribute__((sysv_abi)) *pfoo2)(void) = foo; // expected-warning{{incompatible function pointer types}} +void (__attribute__((sysv_abi)) *pfoo2)(void) = foo; // expected-error{{incompatible function pointer types}}