Test case for #251

This commit is contained in:
Hackerpilot 2015-08-29 03:32:56 -07:00
parent a3f24bfa73
commit 9bdce655db
3 changed files with 19 additions and 0 deletions

View File

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

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

@ -0,0 +1,12 @@
struct TestStruct
{
int[] array;
int*[] arrayOfPointers;
int* pointer;
int plain;
}
unittest
{
auto ts = TestStruct(
}

5
tests/tc020/run.sh Executable file
View File

@ -0,0 +1,5 @@
set -e
set -u
../../bin/dcd-client file.d -c122 > actual1.txt
diff actual1.txt expected1.txt