diff --git a/dsymbol b/dsymbol index 4f03897..e9aae05 160000 --- a/dsymbol +++ b/dsymbol @@ -1 +1 @@ -Subproject commit 4f03897d0152850919e0d52d1cba8042bd714a33 +Subproject commit e9aae0594739d002009cd34dd3edeb38f1f0893b diff --git a/dub.json b/dub.json index 1e22f55..4c42c69 100644 --- a/dub.json +++ b/dub.json @@ -7,7 +7,7 @@ ], "license": "GPL-3.0", "dependencies": { - "dsymbol": "~>0.2.3", + "dsymbol": "~>0.2.4", "libdparse": "~>0.7.1-beta.4", "msgpack-d": "~>1.0.0-beta.3" }, diff --git a/tests/tc055/expected.txt b/tests/tc055/expected.txt new file mode 100644 index 0000000..9a132a4 --- /dev/null +++ b/tests/tc055/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/tc055/file.d b/tests/tc055/file.d new file mode 100644 index 0000000..1ba3a91 --- /dev/null +++ b/tests/tc055/file.d @@ -0,0 +1 @@ +int[]a;void foo(){foreach(i,b;a){b.}} diff --git a/tests/tc055/run.sh b/tests/tc055/run.sh new file mode 100755 index 0000000..cc36c86 --- /dev/null +++ b/tests/tc055/run.sh @@ -0,0 +1,5 @@ +set -e +set -u + +../../bin/dcd-client $1 file.d -c35 > actual.txt +diff actual.txt expected.txt