diff --git a/dsymbol b/dsymbol index c7d57d5..f32e35a 160000 --- a/dsymbol +++ b/dsymbol @@ -1 +1 @@ -Subproject commit c7d57d5b2041af51efc6e7be7e58ae15abce7637 +Subproject commit f32e35a5d2827ccbd3b6842e8d257dd84a5acb71 diff --git a/tests/tc029/expected1.txt b/tests/tc029/expected1.txt new file mode 100644 index 0000000..10b84c9 --- /dev/null +++ b/tests/tc029/expected1.txt @@ -0,0 +1,8 @@ +identifiers +car v +cdouble k +cent k +cfloat k +char k +complicatedLess l +creal k diff --git a/tests/tc029/file.d b/tests/tc029/file.d new file mode 100644 index 0000000..343fe1c --- /dev/null +++ b/tests/tc029/file.d @@ -0,0 +1,6 @@ +unittest +{ + int car; + alias complicatedLess = (a, b) => a.c.d < b.c.d; + c +} diff --git a/tests/tc029/run.sh b/tests/tc029/run.sh new file mode 100755 index 0000000..3bf0d12 --- /dev/null +++ b/tests/tc029/run.sh @@ -0,0 +1,5 @@ +set -e +set -u + +../../bin/dcd-client $1 file.d -c79 > actual1.txt +diff actual1.txt expected1.txt