
The structural equivalence checker was not paying attention to whether enumerations had compatible fixed underlying types or not. Fixes #150594
15 lines
176 B
C
15 lines
176 B
C
// [C23] missing underlying types
|
|
enum E1 : int {
|
|
E1Enumerator1
|
|
};
|
|
|
|
enum E2 {
|
|
E2Enumerator1
|
|
};
|
|
|
|
// [C23] Incompatible underlying types
|
|
enum E3 : long {
|
|
E3Enumerator1
|
|
};
|
|
|