Added test
This commit is contained in:
parent
97e85658cc
commit
468b636136
|
|
@ -0,0 +1,4 @@
|
|||
identifiers
|
||||
data v MyData data stdin 56
|
||||
dchar k
|
||||
double k
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
identifiers
|
||||
data v weird data stdin 55
|
||||
dchar k
|
||||
double k
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
identifiers
|
||||
data v MyData data stdin 41
|
||||
dchar k
|
||||
double k
|
||||
|
|
@ -0,0 +1 @@
|
|||
struct MyData{} MyData want() { return MyData(); } auto data = want(); d
|
||||
|
|
@ -0,0 +1 @@
|
|||
struct MyData{} auto weird(){ return MyData(); }; auto data = weird(); d
|
||||
|
|
@ -0,0 +1 @@
|
|||
struct MyData{} alias MyData Stuff; auto data = Stuff(); d
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
set -e
|
||||
set -u
|
||||
|
||||
../../bin/dcd-client $1 --extended file.d -c72 > actual.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
|
||||
|
||||
../../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
|
||||
Loading…
Reference in New Issue