mirror of
https://github.com/dlang/dmd.git
synced 2025-04-27 05:30:13 +03:00
fix Issue 24200 - ImportC: .di file collected macro conflicts with Special Token (#15797)
This commit is contained in:
parent
ed22f5c28f
commit
8547e96ee1
2 changed files with 40 additions and 0 deletions
|
@ -22,6 +22,11 @@ extern (C)
|
|||
int x = void;
|
||||
}
|
||||
Foo abc();
|
||||
/+enum int __DATE__ = 1+/;
|
||||
/+enum int __TIME__ = 1+/;
|
||||
/+enum int __TIMESTAMP__ = 1+/;
|
||||
/+enum int __EOF__ = 1+/;
|
||||
/+enum int __VENDOR__ = 1+/;
|
||||
}
|
||||
---
|
||||
*/
|
||||
|
@ -43,3 +48,11 @@ struct Foo {
|
|||
};
|
||||
|
||||
struct Foo abc(void);
|
||||
|
||||
// https://issues.dlang.org/show_bug.cgi?id=24200
|
||||
|
||||
#define __DATE__ 1
|
||||
#define __TIME__ 1
|
||||
#define __TIMESTAMP__ 1
|
||||
#define __EOF__ 1
|
||||
#define __VENDOR__ 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue