Aaron Ballman d2361e43d1
[C23] More improved type compatibility for enumerations (#150946)
The structural equivalence checker was not paying attention to whether
enumerations had compatible fixed underlying types or not.

Fixes #150594
2025-07-29 13:30:52 -04:00

15 lines
176 B
C

// [C23] missing underlying types
enum E1 : int {
E1Enumerator1
};
enum E2 {
E2Enumerator1
};
// [C23] Incompatible underlying types
enum E3 : long {
E3Enumerator1
};