Update test to cover crash case

This commit is contained in:
RUSshy 2021-08-31 16:52:57 +02:00 committed by GitHub
parent 9c0b2d60c3
commit 991040491c
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 weird data stdin 55
dchar k
double k

View File

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

View File

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