This commit is contained in:
Hackerpilot 2015-08-11 23:36:48 -07:00
parent 3a18355bb9
commit 1c489ec8fd
7 changed files with 51 additions and 1 deletions

@ -1 +1 @@
Subproject commit 5d57555bce10bc9e060171fb15f2ab37b715d276
Subproject commit 17c2e0d57cf5dbf7e83dbb0f1d215dc7c1181a75

View File

@ -0,0 +1,8 @@
module module1;
struct Struct
{
int a;
int b;
int c;
}

10
tests/tc015/expected1.txt Normal file
View File

@ -0,0 +1,10 @@
identifiers
a v
alignof k
b v
c v
init k
mangleof k
sizeof k
stringof k
tupleof k

10
tests/tc015/expected2.txt Normal file
View File

@ -0,0 +1,10 @@
identifiers
a v
alignof k
b v
c v
init k
mangleof k
sizeof k
stringof k
tupleof k

7
tests/tc015/file1.d Normal file
View File

@ -0,0 +1,7 @@
import package1.module1;
void main(string[] args)
{
package1.module1.Struct s;
s.
}

7
tests/tc015/file2.d Normal file
View File

@ -0,0 +1,7 @@
import a = package1.module1;
void main(string[] args)
{
a.Struct s;
s.
}

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

@ -0,0 +1,8 @@
set -e
set -u
../../bin/dcd-client file1.d -c84 > actual1.txt
diff actual1.txt expected1.txt
../../bin/dcd-client file2.d -c73 > actual2.txt
diff actual2.txt expected2.txt