Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix #199: Define of types results in incorrect output
- Loading branch information
Showing
6 changed files
with
79 additions
and
15 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
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
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,25 @@ | ||
/** | ||
* Copyright: Copyright (c) 2018 Wojciech Szęszoł. All rights reserved. | ||
* Authors: Wojciech Szęszoł | ||
* Version: Initial created: September 29, 2018 | ||
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0) | ||
*/ | ||
|
||
import Common; | ||
|
||
unittest | ||
{ | ||
assertTranslates( | ||
q"C | ||
#include <stdint.h> | ||
#define __le64 uint64_t | ||
C", | ||
q"D | ||
extern (C): | ||
alias __le64 = ulong; | ||
D"); | ||
|
||
} | ||
|