aguinet added inline comments.
================
Comment at: clang/test/Sema/callingconv-darwin_abi.c:10
+
+void(__attribute__((darwin_abi)) * pfoo2)(void) = foo; //
expected-warning{{incompatible function pointer types}}
----------------
aaron.ballman wrote:
> You should also add some tests like:
> ```
> __attribute__((darwin_abi)) int i; // error
> __attribute__((darwin_abi(12))) void func(void); // error
> ```
If I am correct, this is tested in `clang/test/Sema/darwin_abi-sysv_abi.c`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89490/new/
https://reviews.llvm.org/D89490
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits