From c780cbb6acd0e0526f2d305138190392bdc8cdd7 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sat, 24 Jan 2026 01:43:01 +0900 Subject: refactor: organize test files --- tests/void_functions.sh | 48 ------------------------------------------------ 1 file changed, 48 deletions(-) delete mode 100644 tests/void_functions.sh (limited to 'tests/void_functions.sh') diff --git a/tests/void_functions.sh b/tests/void_functions.sh deleted file mode 100644 index 656c2c1..0000000 --- a/tests/void_functions.sh +++ /dev/null @@ -1,48 +0,0 @@ -cat <<'EOF' > expected -123 -EOF -test_diff <<'EOF' -int printf(); - -void foo_bar(int hoge_piyo) { - printf("%d\n", hoge_piyo); -} - -int main() { - foo_bar(123); - return 0; -} -EOF - -cat <<'EOF' > expected -EOF -test_diff <<'EOF' -struct S { - int a; -}; - -struct S* f(); - -struct S* g() {} - -int main() { - return 0; -} -EOF - -cat <<'EOF' > expected -hi -EOF -test_diff <<'EOF' -int printf(); - -void f() { - printf("hi\n"); - return; -} - -int main() { - f(); - return 0; -} -EOF -- cgit v1.3-1-g0d28