Skip to content

Commit

Permalink
Merge pull request #252 from Hackerpilot/issue-251
Browse files Browse the repository at this point in the history
Issue 251
  • Loading branch information
Hackerpilot committed Aug 30, 2015
2 parents 58b7ee9 + 954989b commit abe3498
Show file tree
Hide file tree
Showing 5 changed files with 34 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dsymbol
2 changes: 2 additions & 0 deletions tests/tc020/expected1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
calltips
this(int[] array, int*[] arrayOfPointers, int* pointer, int plain)
Empty file added tests/tc020/expected2.txt
Empty file.
23 changes: 23 additions & 0 deletions tests/tc020/file.d
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
struct TestStruct
{
int[] array;
int*[] arrayOfPointers;
int* pointer;
int plain;
}

class TestClass
{
int a;
int b;
}

unittest
{
auto ts = TestStruct(
}

unittest
{
auto tc = new TestClass(
}
8 changes: 8 additions & 0 deletions tests/tc020/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
set -e
set -u

../../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 abe3498

Please sign in to comment.