mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 05:30:13 +03:00
fix Issue 23622 - ImportC #defines conflict with declarations
This commit is contained in:
parent
0a7502f206
commit
e32f665190
6 changed files with 20 additions and 0 deletions
7
compiler/test/compilable/test23622.c
Normal file
7
compiler/test/compilable/test23622.c
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue