Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5330 from WalterBright/fix15389
fix Issue 15389 - extern(C++) forward referencing problem
- Loading branch information
1 parent
e50f8aa
commit 8399e29
Showing
3 changed files
with
30 additions
and
0 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,7 @@ | ||
import test15389_y; | ||
|
||
//struct ns | ||
extern (C++, ns) | ||
{ | ||
class X { test15389_y.ns.Y a; } | ||
} |
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,8 @@ | ||
import test15389_x; | ||
|
||
//struct ns | ||
extern (C++, ns) | ||
{ | ||
class Y { test15389_x.ns.X b; } | ||
} | ||
|