Merge pull request #367 from BBasile/issue-344
fix #344, It doesn't determine type of element of array declared by auto
This commit is contained in:
commit
4998a3c441
2
dsymbol
2
dsymbol
|
@ -1 +1 @@
|
||||||
Subproject commit d22c9714a60ac05cb32db938e81a396cffb5ffa6
|
Subproject commit 005f60070212aebe522938595b1346110c36dc33
|
|
@ -0,0 +1,8 @@
|
||||||
|
identifiers
|
||||||
|
alignof k
|
||||||
|
init k
|
||||||
|
mangleof k
|
||||||
|
max k
|
||||||
|
min k
|
||||||
|
sizeof k
|
||||||
|
stringof k
|
|
@ -0,0 +1,6 @@
|
||||||
|
auto a = [[[0]]];
|
||||||
|
|
||||||
|
void main(string[] args)
|
||||||
|
{
|
||||||
|
a[0][0][0].
|
||||||
|
}
|
|
@ -0,0 +1,5 @@
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
|
../../bin/dcd-client $1 file.d -c61 > actual.txt
|
||||||
|
diff actual.txt expected.txt
|
Loading…
Reference in New Issue