diff --git a/source/tlang/testing/simple_comments.t b/source/tlang/testing/simple_comments.t index 9fc71aa0..84fda21d 100644 --- a/source/tlang/testing/simple_comments.t +++ b/source/tlang/testing/simple_comments.t @@ -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; }