From 954989bf63a675ea84ae8d6aadecac6ec80f08af Mon Sep 17 00:00:00 2001 From: Hackerpilot Date: Sat, 29 Aug 2015 18:16:14 -0700 Subject: [PATCH] Fix #251 --- dsymbol | 2 +- tests/tc020/expected2.txt | 0 tests/tc020/file.d | 11 +++++++++++ tests/tc020/run.sh | 5 ++++- 4 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 tests/tc020/expected2.txt 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