mirror of
https://github.com/kmc7468/cs420.git
synced 2025-12-16 07:28:52 +00:00
Reorganize tests
This commit is contained in:
13
examples/c/foo3.c
Normal file
13
examples/c/foo3.c
Normal file
@@ -0,0 +1,13 @@
|
||||
int g = 10;
|
||||
|
||||
int foo(int, int k);
|
||||
|
||||
int main() {
|
||||
int i = g;
|
||||
|
||||
return foo(i, i) == 30;
|
||||
}
|
||||
|
||||
int foo(int i, int j) {
|
||||
return i + j + g;
|
||||
}
|
||||
Reference in New Issue
Block a user