fix Issue 23622 - ImportC #defines conflict with declarations

This commit is contained in:
Walter Bright 2023-01-13 00:30:20 -08:00 committed by The Dlang Bot
parent 0a7502f206
commit e32f665190
6 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1,7 @@
// https://issues.dlang.org/show_bug.cgi?id=23622
int FP_NAN = 0;
#define FP_NAN 0
enum E { ENUM = 0 };
#define ENUM 0