Test case for #275
This commit is contained in:
parent
69d195f5a9
commit
4c001b0727
|
@ -0,0 +1,9 @@
|
|||
identifiers
|
||||
alignof k
|
||||
init k
|
||||
mangleof k
|
||||
sizeof k
|
||||
stringof k
|
||||
tupleof k
|
||||
x v
|
||||
y v
|
|
@ -0,0 +1,9 @@
|
|||
identifiers
|
||||
alignof k
|
||||
init k
|
||||
mangleof k
|
||||
sizeof k
|
||||
stringof k
|
||||
tupleof k
|
||||
x v
|
||||
y v
|
|
@ -0,0 +1,16 @@
|
|||
module file;
|
||||
|
||||
import point;
|
||||
import point : P = Point;
|
||||
|
||||
unittest
|
||||
{
|
||||
P thePoint;
|
||||
thePoint.
|
||||
}
|
||||
|
||||
unittest
|
||||
{
|
||||
Point p;
|
||||
p.
|
||||
}
|
|
@ -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
|
Loading…
Reference in New Issue