diff --git a/tests/tc012/expected1.txt b/tests/tc012/expected1.txt new file mode 100644 index 0000000..8dc55ab --- /dev/null +++ b/tests/tc012/expected1.txt @@ -0,0 +1,2 @@ +identifiers +stdio M diff --git a/tests/tc012/file.d b/tests/tc012/file.d new file mode 100644 index 0000000..d5fa557 --- /dev/null +++ b/tests/tc012/file.d @@ -0,0 +1,11 @@ +import std.stdio; + +unittest +{ + std. +} + +unittest +{ + std.stdio. +} diff --git a/tests/tc012/run.sh b/tests/tc012/run.sh new file mode 100755 index 0000000..1351484 --- /dev/null +++ b/tests/tc012/run.sh @@ -0,0 +1,5 @@ +set -e +set -u + +dcd-client file.d -c48 > actual1.txt +diff actual1.txt expected1.txt diff --git a/tests/tc013/file.d b/tests/tc013/file.d new file mode 100644 index 0000000..41e6b63 --- /dev/null +++ b/tests/tc013/file.d @@ -0,0 +1,7 @@ +alias da_SDL_GL_GetDrawableSize = void function( SDL_Window*, int*, int* ); +da_SDL_GL_GetDrawableSize SDL_GL_GetDrawableSize; + +unittest +{ + SDL_GL_GetDrawableSize( +}