forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
d/dmd: Merge upstream dmd 420cce2a6 Fixes internal compiler error during CTFE. Reviewed-on: dlang/dmd#9997 git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272342 138bc75d-0d04-0410-961f-82ee72b054a4
- Loading branch information
ibuclaw
committed
Jun 16, 2019
1 parent
28d90f3
commit 2f38d27
Showing
3 changed files
with
24 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
c74e624c9a0a9e7e39f96b2f005f86e123df56c9 | ||
420cce2a654f14b8de4a75cbb5d4203fce8d4e0f | ||
|
||
The first line of this file holds the git revision number of the last | ||
merge done from the dlang/dmd repository. |
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,13 @@ | ||
// PERMUTE_ARGS: | ||
/* | ||
TEST_OUTPUT | ||
--- | ||
fail_compilation/fail19897.d(10): Error: cannot implicitly convert expression `[]` of type `const(char[0])` to `const(char)` | ||
--- | ||
*/ | ||
struct S | ||
{ | ||
char[0] x; | ||
} | ||
const a = S('a'); | ||
const char c = a.x; |