1
0

Test undefined return.

This commit is contained in:
Captain ALM 2022-08-13 19:02:27 +01:00
parent 7490abcfbb
commit 52d8787bc4
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1

View File

@ -1,15 +1,11 @@
#include <iostream>
void test(int*);
int num{ 0 };
int test();
int main()
{
test(&num);
return 0;
std::cout << test();
}
void test(int* execNum) {
std::cout << ++(*execNum) << ".";
test(execNum);
int test() {
}