The code below compiles in both gcc 10 and clang 11:
int plus_one(int i) { return i+1; }
int main() {
int i = plus_one(i);
}
What does the standard have to say about this?
The code below compiles in both gcc 10 and clang 11:
int plus_one(int i) { return i+1; }
int main() {
int i = plus_one(i);
}
What does the standard have to say about this?