mirror of
https://github.com/dlang/dmd.git
synced 2025-04-29 06:30:10 +03:00
fix Issue 24071 - When enum has typedef integer constants do not have types determined correctly (#15602)
This commit is contained in:
parent
a32c4de762
commit
fc0552286c
1 changed files with 9 additions and 0 deletions
|
@ -749,3 +749,12 @@ static void parse() {
|
||||||
Typ* ty;
|
Typ* ty;
|
||||||
void* fields = &ty->fields;
|
void* fields = &ty->fields;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/************************************************************/
|
||||||
|
// https://issues.dlang.org/show_bug.cgi?id=24071
|
||||||
|
|
||||||
|
typedef enum
|
||||||
|
{
|
||||||
|
DISPLAYCONFIG_OUTPUT_TECHNOLOGY_SVIDEO = 1,
|
||||||
|
DISPLAYCONFIG_OUTPUT_TECHNOLOGY_INTERNAL = 0x80000000,
|
||||||
|
} DISPLAYCONFIG_VIDEO_OUTPUT_TECHNOLOGY;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue