Files
faumaray bba5c8a39a initial commit
Signed-off-by: Aleksey Selihov <faumaray@gmail.com>
2026-05-22 02:40:32 +03:00

14 lines
313 B
C

// Object B: calls add() and square() defined in math_a.c.
// Tests cross-object PLT32 → PC32 resolution in the merger.
extern int add(int, int);
extern int square(int);
int add_and_double(int a, int b) {
return add(a, b) * 2;
}
int sum_of_squares(int a, int b) {
return add(square(a), square(b));
}