00087.c (121B)
1 struct S 2 { 3 int (*fptr)(); 4 }; 5 6 int 7 foo() 8 { 9 return 0; 10 } 11 12 int 13 main() 14 { 15 struct S v; 16 17 v.fptr = foo; 18 return v.fptr(); 19 } 20
boot2Playing with the boostrap | |
| git clone https://git.ryansepassi.com/git/boot2.git | |
| Log | Files | Refs | README |