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/void_functions.sh | |
| parent | d179d944c0633d3aa2420009335791b115f67052 (diff) | |
| download | ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.gz ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.tar.zst ducc-c780cbb6acd0e0526f2d305138190392bdc8cdd7.zip | |
refactor: organize test files
Diffstat (limited to 'tests/void_functions.sh')
| -rw-r--r-- | tests/void_functions.sh | 48 |
1 files changed, 0 insertions, 48 deletions
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 |
