You've already forked object-testfiles
mirror of
https://github.com/encounter/object-testfiles.git
synced 2026-03-30 11:32:26 -07:00
26f9fc09c3
ELF/PE/Wasm
22 lines
215 B
C++
22 lines
215 B
C++
typedef int (*f)(int);
|
|
|
|
inline int foo1(int x) {
|
|
return x * x;
|
|
}
|
|
|
|
inline int foo2(int x) {
|
|
return x + x;
|
|
}
|
|
|
|
f bar1(void) {
|
|
return foo1;
|
|
}
|
|
|
|
f bar2(void) {
|
|
return foo2;
|
|
}
|
|
|
|
int main() {
|
|
return 0;
|
|
}
|