Files
Florian Klink 4f0b794d15 tests.auto-patchelf-hook-preserve-origin: init
This adds a test for the autoPatchelfHook --preserve-origin feature.
2025-12-17 15:21:30 +02:00

15 lines
224 B
C

#include <stdio.h>
extern unsigned int foo(void);
extern unsigned int bar(void);
int main(int argc, char **argv)
{
if (foo() != 42)
return 1;
if (bar() != 42)
return 1;
fprintf(stderr, "ok\n");
return 0;
}