diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-01-24 01:43:01 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-01-24 01:43:01 +0900 |
| commit | c780cbb6acd0e0526f2d305138190392bdc8cdd7 (patch) | |
| tree | df1edba6eb5778a00e1f4c8a5051414d5bb37e71 /tests/function_pointers.sh | |
| parent | d179d944c0633d3aa2420009335791b115f67052 (diff) | |
| download | ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.gz ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.zst ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.zip | |
refactor: organize test files
Diffstat (limited to 'tests/function_pointers.sh')
| -rw-r--r-- | tests/function_pointers.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/tests/function_pointers.sh b/tests/function_pointers.sh deleted file mode 100644 index cddc623..0000000 --- a/tests/function_pointers.sh +++ /dev/null @@ -1,24 +0,0 @@ -cat <<'EOF' > expected -a -h -g -EOF - -test_diff <<'EOF' -int* f1(int a); -int (*f2)(int a); - -extern int atexit (void (*) (void)); -extern int atexit (void (*fn) (void)); - -int printf(const char*, ...); - -void g() { printf("g\n"); } -void h() { printf("h\n"); } - -int main() { - atexit(g); - atexit(h); - printf("a\n"); -} -EOF |
