Test case for #282

This commit is contained in:
Hackerpilot 2016-01-25 18:47:13 -08:00
parent 9793ecbb49
commit 17310a2830
4 changed files with 24 additions and 0 deletions

View File

View File

@ -0,0 +1,9 @@
identifiers
C l
alignof k
i v
init k
mangleof k
sizeof k
stringof k
tupleof k

10
tests/tc027/file.d Normal file
View File

@ -0,0 +1,10 @@
struct Foo(C)
{
int i;
}
unittest
{
auto foo = Foo!int();
foo.
}

5
tests/tc027/run.sh Executable file
View File

@ -0,0 +1,5 @@
set -e
set -u
../../bin/dcd-client $1 file.d -c66 > actual1.txt
diff actual1.txt expected1.txt