Test cases

- Updated `simple_comments.t`
This commit is contained in:
Tristan B. Velloza Kildaire 2024-04-16 20:49:09 +02:00
parent 87ddafe304
commit 0b927e93e4
1 changed files with 12 additions and 2 deletions

View File

@ -1,13 +1,23 @@
module simple_comments;
int i;
int p;
/**
* Other comment
*/
/**
* Returns 0
*
* @param x This is the first input
*@param y This is the second input
* @param niks this r e a l l y doesn't do anything
* @return Just the value 0
*/
int zero()
int zero(int x, int y)
{
return 0;
}
@ -19,6 +29,6 @@ int zero()
int main()
{
int k = zero();
*(cast(int*)0) = zero();
*(cast(int*)0) = zero(0);
return 0;
}