Update test to cover non function case

This commit is contained in:
RUSshy 2021-08-31 16:13:50 +02:00 committed by GitHub
parent 91a973cba9
commit 853a134ae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,4 @@
identifiers
data v MyData data stdin 41
dchar k
double k

View File

@ -0,0 +1 @@
struct MyData{} alias MyData Stuff; auto data = Stuff(); d

View File

@ -3,3 +3,6 @@ set -u
../../bin/dcd-client $1 --extended file.d -c72 > actual.txt ../../bin/dcd-client $1 --extended file.d -c72 > actual.txt
diff actual.txt expected.txt diff actual.txt expected.txt
../../bin/dcd-client $1 --extended file_nf.d -c58 > actual_nf.txt
diff actual_nf.txt expected_nf.txt