Test case for #275

This commit is contained in:
Hackerpilot 2016-01-06 01:08:55 -08:00
parent 69d195f5a9
commit 4c001b0727
4 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,9 @@
identifiers
alignof k
init k
mangleof k
sizeof k
stringof k
tupleof k
x v
y v

View File

@ -0,0 +1,9 @@
identifiers
alignof k
init k
mangleof k
sizeof k
stringof k
tupleof k
x v
y v

16
tests/tc023/file.d Normal file
View File

@ -0,0 +1,16 @@
module file;
import point;
import point : P = Point;
unittest
{
P thePoint;
thePoint.
}
unittest
{
Point p;
p.
}

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

@ -0,0 +1,8 @@
set -e
set -u
../../bin/dcd-client file.d -c117 > actual1.txt
diff actual1.txt expected1.txt
../../bin/dcd-client file.d -c89 > actual2.txt
diff actual2.txt expected2.txt