Add all the assignment code.
Signed-off-by: jmug <u.g.a.mariano@gmail.com>
This commit is contained in:
parent
58c6b1f81c
commit
cfe502c598
1277 changed files with 48709 additions and 1 deletions
23
hw5/hw5programs/tc_func_arg_ok.oat
Normal file
23
hw5/hw5programs/tc_func_arg_ok.oat
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
struct A {
|
||||
int x
|
||||
}
|
||||
|
||||
struct B {
|
||||
int x;
|
||||
int y
|
||||
}
|
||||
|
||||
int f(A x) {
|
||||
return 3;
|
||||
}
|
||||
|
||||
int g(B x) {
|
||||
return 3;
|
||||
}
|
||||
|
||||
int l() {
|
||||
var x = g;
|
||||
x = f;
|
||||
return 3;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue