test(ffi-linkage): xfail #foreign+postfix conflict diagnostic (Phase 4)

This commit is contained in:
agra
2026-06-14 15:37:25 +03:00
parent 5d4a2c26c1
commit dd927c2e94
4 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1 @@
1

View File

@@ -0,0 +1,5 @@
error: conflicting linkage: prefix '#foreign' cannot be combined with postfix 'export'; use either '#foreign' or postfix 'extern'/'export', not both
--> examples/1174-diagnostics-foreign-postfix-conflict.sx:11:39
|
11 | C :: #foreign #objc_class("NSObject") export {
| ^^^^^^