-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #252 from Hackerpilot/issue-251
Issue 251
- Loading branch information
Showing
5 changed files
with
34 additions
and
1 deletion.
There are no files selected for viewing
Submodule dsymbol
updated
from e0d482 to c9ac0c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
calltips | ||
this(int[] array, int*[] arrayOfPointers, int* pointer, int plain) |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
struct TestStruct | ||
{ | ||
int[] array; | ||
int*[] arrayOfPointers; | ||
int* pointer; | ||
int plain; | ||
} | ||
|
||
class TestClass | ||
{ | ||
int a; | ||
int b; | ||
} | ||
|
||
unittest | ||
{ | ||
auto ts = TestStruct( | ||
} | ||
|
||
unittest | ||
{ | ||
auto tc = new TestClass( | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
set -e | ||
set -u | ||
|
||
../../bin/dcd-client file.d -c159 > actual1.txt | ||
diff actual1.txt expected1.txt | ||
|
||
../../bin/dcd-client file.d -c199 > actual2.txt | ||
diff actual2.txt expected2.txt |