more complex calltips test

This commit is contained in:
WebFreak001 2017-08-10 21:34:15 +02:00
parent 38cc25bbcc
commit a6074cfb7a
3 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,2 @@
calltips
void doStuff(int a, int b)

8
tests/tc057/file.d Normal file
View File

@ -0,0 +1,8 @@
void doStuff(int a, int b) { return; }
int getInt(int i, int[] b) { return i; }
int b(int a) { return a; }
void main(string[] args)
{
doStuff(getInt(1, [b(3)]),);
auto x = 10, 20;
}

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

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