Merge pull request #252 from Hackerpilot/issue-251

Issue 251
This commit is contained in:
Brian Schott 2015-08-29 18:17:39 -07:00
commit abe3498184
5 changed files with 34 additions and 1 deletions

@ -1 +1 @@
Subproject commit e0d4828006b258c1d25a421677fc8527bd766a05 Subproject commit c9ac0cbf1a4496c2c015829bf08fd96c08c53ff7

View File

@ -0,0 +1,2 @@
calltips
this(int[] array, int*[] arrayOfPointers, int* pointer, int plain)

View File

23
tests/tc020/file.d Normal file
View File

@ -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
tests/tc020/run.sh Executable file
View File

@ -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