Add test cases for #233 and #232

This commit is contained in:
Hackerpilot 2015-08-06 23:49:56 -07:00
parent ad54a4e16c
commit 562b3a3143
4 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,2 @@
identifiers
stdio M

11
tests/tc012/file.d Normal file
View File

@ -0,0 +1,11 @@
import std.stdio;
unittest
{
std.
}
unittest
{
std.stdio.
}

5
tests/tc012/run.sh Executable file
View File

@ -0,0 +1,5 @@
set -e
set -u
dcd-client file.d -c48 > actual1.txt
diff actual1.txt expected1.txt

7
tests/tc013/file.d Normal file
View File

@ -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(
}