[CPP-340] Fix TooFewArguments.c to actually provide a ()-prototype.

This commit is contained in:
Ziemowit Laski
2019-03-29 20:34:49 -07:00
parent 59a54df149
commit 8a653b9adc

View File

@@ -1,8 +1,9 @@
void one_argument(int x);
void one_argument();
void calls() {
one_argument(1); // GOOD: `one_argument` will accept and use the argument
one_argument(); // BAD: `one_argument` will receive an undefined value
}
void one_argument(int x);