Skip to content

Commit

Permalink
Fix #251
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackerpilot committed Aug 30, 2015
1 parent e6f3160 commit 954989b
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dsymbol
Empty file added tests/tc020/expected2.txt
Empty file.
11 changes: 11 additions & 0 deletions tests/tc020/file.d
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,18 @@ struct TestStruct
int plain;
}

class TestClass
{
int a;
int b;
}

unittest
{
auto ts = TestStruct(
}

unittest
{
auto tc = new TestClass(
}
5 changes: 4 additions & 1 deletion tests/tc020/run.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 954989b

Please sign in to comment.