Merge pull request #279 from Hackerpilot/issue-275

Issue 275
This commit is contained in:
Brian Schott 2016-01-06 02:23:42 -08:00
commit 651d78b01a
5 changed files with 43 additions and 1 deletions

@ -1 +1 @@
Subproject commit 58392233a0e8cef78910e75f80b8214af6229e87
Subproject commit 5232fcc3cae19f2776073590d9c972eefedbca96

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