diff --git a/dsymbol b/dsymbol index e0d4828..c9ac0cb 160000 --- a/dsymbol +++ b/dsymbol @@ -1 +1 @@ -Subproject commit e0d4828006b258c1d25a421677fc8527bd766a05 +Subproject commit c9ac0cbf1a4496c2c015829bf08fd96c08c53ff7 diff --git a/tests/tc020/expected2.txt b/tests/tc020/expected2.txt new file mode 100644 index 0000000..e69de29 diff --git a/tests/tc020/file.d b/tests/tc020/file.d index 138e0f7..b166374 100644 --- a/tests/tc020/file.d +++ b/tests/tc020/file.d @@ -6,7 +6,18 @@ struct TestStruct int plain; } +class TestClass +{ + int a; + int b; +} + unittest { auto ts = TestStruct( } + +unittest +{ + auto tc = new TestClass( +} diff --git a/tests/tc020/run.sh b/tests/tc020/run.sh index 2919cb5..8751e55 100755 --- a/tests/tc020/run.sh +++ b/tests/tc020/run.sh @@ -1,5 +1,8 @@ set -e set -u -../../bin/dcd-client file.d -c122 > actual1.txt +../../bin/dcd-client file.d -c159 > actual1.txt diff actual1.txt expected1.txt + +../../bin/dcd-client file.d -c199 > actual2.txt +diff actual2.txt expected2.txt