This commit is contained in:
Hackerpilot 2015-08-04 17:35:09 -07:00
parent 0c4b75f0c7
commit 0822bddd49
5 changed files with 32 additions and 0 deletions

7
tests/imports/point.d Normal file
View File

@ -0,0 +1,7 @@
module point;
struct Point
{
int x;
int y;
}

View File

@ -0,0 +1 @@
Point s

View File

@ -0,0 +1,2 @@
x v
y v

14
tests/tc011/file.d Normal file
View File

@ -0,0 +1,14 @@
// Issue #228
import p = point;
unittest
{
p.
}
unittest
{
p.Point p1;
p1.
}

8
tests/tc011/run.sh Executable file
View File

@ -0,0 +1,8 @@
set -e
set -u
dcd-client file.d -c48 > actual1.txt
diff actual1.txt expected1.txt
dcd-client file.d -c80 > actual2.txt
diff actual2.txt expected2.txt