dmd/compiler/test/compilable/test18127.d
drpriver 8a8746f318
Fix 18127 - ImportC: redeclaration of struct in different translation unit doesn’t check compatibility (#21224)
Fixes: https://github.com/dlang/dmd/issues/18127

When merging struct definitions from different C imports, check that the
structs are actually compatible according to the C rules. If they are
not, issue an error.
2025-04-14 14:35:20 +08:00

4 lines
98 B
D

// https://github.com/dlang/dmd/issues/18127
import imports.imp18127a;
import imports.imp18127b;