diff --git a/dsymbol b/dsymbol index d22c971..005f600 160000 --- a/dsymbol +++ b/dsymbol @@ -1 +1 @@ -Subproject commit d22c9714a60ac05cb32db938e81a396cffb5ffa6 +Subproject commit 005f60070212aebe522938595b1346110c36dc33 diff --git a/tests/tc050/expected.txt b/tests/tc050/expected.txt new file mode 100644 index 0000000..9a132a4 --- /dev/null +++ b/tests/tc050/expected.txt @@ -0,0 +1,8 @@ +identifiers +alignof k +init k +mangleof k +max k +min k +sizeof k +stringof k diff --git a/tests/tc050/file.d b/tests/tc050/file.d new file mode 100644 index 0000000..95a1df5 --- /dev/null +++ b/tests/tc050/file.d @@ -0,0 +1,6 @@ +auto a = [[[0]]]; + +void main(string[] args) +{ + a[0][0][0]. +} diff --git a/tests/tc050/run.sh b/tests/tc050/run.sh new file mode 100755 index 0000000..ac655b4 --- /dev/null +++ b/tests/tc050/run.sh @@ -0,0 +1,5 @@ +set -e +set -u + +../../bin/dcd-client $1 file.d -c61 > actual.txt +diff actual.txt expected.txt