Added test for #648

Test for #648
This commit is contained in:
RUSshy 2021-08-18 16:40:24 +02:00 committed by GitHub
parent 02acaa534b
commit e8855839c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 0 deletions

5
tests/tc648/expected.txt Normal file
View File

@ -0,0 +1,5 @@
identifiers
DataA s
DataB s
dchar k
double k

9
tests/tc648/file.d Normal file
View File

@ -0,0 +1,9 @@
struct DataA
{
D
}
struct DataB
{
}

5
tests/tc648/run.sh Normal file
View File

@ -0,0 +1,5 @@
set -e
set -u
../../bin/dcd-client $1 file.d -c16 > actual.txt
diff actual.txt expected.txt