Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix Issue 23402 - importc function definitions from includes can caus…
…e D name conflicts
- Loading branch information
1 parent
1ab73ce
commit 3b20050
Showing
4 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include <stdio.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
// EXTRA_SOURCES: imports/imp23402a.c imports/imp23402b.c | ||
// https://issues.dlang.org/show_bug.cgi?id=23402 | ||
|
||
import imp23402a; | ||
import imp23402b; | ||
|
||
int main() | ||
{ | ||
printf("hello world\n"); | ||
return 0; | ||
} |