Added auto cast test
This commit is contained in:
parent
f38d36ab41
commit
c36cdcbde7
|
|
@ -0,0 +1,8 @@
|
|||
identifiers
|
||||
alignof k
|
||||
data v
|
||||
init k
|
||||
mangleof k
|
||||
sizeof k
|
||||
stringof k
|
||||
tupleof k
|
||||
|
|
@ -0,0 +1 @@
|
|||
struct A { float data; } A a; auto ptr = cast(A*) &a; ptr.
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
set -e
|
||||
set -u
|
||||
|
||||
|
||||
../../bin/dcd-client $1 file.d -c 60 > actual.txt
|
||||
|
||||
diff actual.txt expected.txt
|
||||
Loading…
Reference in New Issue