aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/array_basics.sh1
-rw-r--r--tests/comma_operator.sh1
-rw-r--r--tests/command_line_args.sh1
-rw-r--r--tests/comments.sh1
-rw-r--r--tests/compile_errors.sh1
-rw-r--r--tests/compiler_output.sh1
-rw-r--r--tests/compiler_version.sh1
-rw-r--r--tests/conditional_errors.sh1
-rw-r--r--tests/define_macros.sh1
-rw-r--r--tests/do_while.sh1
-rw-r--r--tests/empty_preprocessor.sh1
-rw-r--r--tests/empty_statements.sh1
-rw-r--r--tests/error_directive.sh1
-rw-r--r--tests/example_programs.sh1
-rw-r--r--tests/file_io.sh1
-rw-r--r--tests/identifiers.sh1
-rw-r--r--tests/implicit_return.sh1
-rw-r--r--tests/include_guards.sh1
-rw-r--r--tests/include_local.sh1
-rw-r--r--tests/increment_operators.sh1
-rw-r--r--tests/input_operations.sh1
-rw-r--r--tests/invalid_directives.sh1
-rw-r--r--tests/line_continuation.sh1
-rw-r--r--tests/logical_operators.sh1
-rw-r--r--tests/nested_conditionals.sh1
-rw-r--r--tests/pointer_basics.sh1
-rw-r--r--tests/predefined_macros.sh1
-rw-r--r--tests/preprocessor_comments.sh1
-rw-r--r--tests/printf.sh1
-rw-r--r--tests/short_type.sh1
-rw-r--r--tests/sizeof_operator.sh1
-rw-r--r--tests/stdlib_declarations.sh1
-rw-r--r--tests/struct_arrays.sh1
-rw-r--r--tests/struct_basics.sh1
-rw-r--r--tests/struct_initialization.sh1
-rw-r--r--tests/typedef_struct.sh1
-rw-r--r--tests/unions.sh1
-rw-r--r--tests/variadic_functions.sh1
-rw-r--r--tests/void_functions.sh1
39 files changed, 0 insertions, 39 deletions
diff --git a/tests/array_basics.sh b/tests/array_basics.sh
index 75bb244..e50a3c0 100644
--- a/tests/array_basics.sh
+++ b/tests/array_basics.sh
@@ -160,4 +160,3 @@ int main() {
printf("%zu\n", sizeof(c));
}
EOF
-
diff --git a/tests/comma_operator.sh b/tests/comma_operator.sh
index 7c53845..b754cf5 100644
--- a/tests/comma_operator.sh
+++ b/tests/comma_operator.sh
@@ -34,4 +34,3 @@ int main() {
printf("%d %d %d\n", x, y, z);
}
EOF
-
diff --git a/tests/command_line_args.sh b/tests/command_line_args.sh
index 094b36c..7286815 100644
--- a/tests/command_line_args.sh
+++ b/tests/command_line_args.sh
@@ -16,4 +16,3 @@ int main(int argc, char** argv) {
return 0;
}
EOF
-
diff --git a/tests/comments.sh b/tests/comments.sh
index 7a43832..1318f93 100644
--- a/tests/comments.sh
+++ b/tests/comments.sh
@@ -22,4 +22,3 @@ lorem ipsum
int/**/main() {
}
EOF
-
diff --git a/tests/compile_errors.sh b/tests/compile_errors.sh
index 23bf394..c41d633 100644
--- a/tests/compile_errors.sh
+++ b/tests/compile_errors.sh
@@ -30,4 +30,3 @@ EOF
test_compile_error <<'EOF'
int main() 123
EOF
-
diff --git a/tests/compiler_output.sh b/tests/compiler_output.sh
index 6993c36..33c4f17 100644
--- a/tests/compiler_output.sh
+++ b/tests/compiler_output.sh
@@ -14,4 +14,3 @@ if [[ $exit_code -ne 0 ]]; then
echo "invalid exit code: $exit_code" >&2
exit 1
fi
-
diff --git a/tests/compiler_version.sh b/tests/compiler_version.sh
index 09f98d4..76ba104 100644
--- a/tests/compiler_version.sh
+++ b/tests/compiler_version.sh
@@ -4,4 +4,3 @@ if [[ "$("$ducc" --version)" != "$expected" ]]; then
echo "invalid output" >&2
exit 1
fi
-
diff --git a/tests/conditional_errors.sh b/tests/conditional_errors.sh
index 5a33e8c..b940521 100644
--- a/tests/conditional_errors.sh
+++ b/tests/conditional_errors.sh
@@ -71,4 +71,3 @@ test_compile_error <<'EOF'
int main() {}
EOF
-
diff --git a/tests/define_macros.sh b/tests/define_macros.sh
index 1b674f1..c92560f 100644
--- a/tests/define_macros.sh
+++ b/tests/define_macros.sh
@@ -89,4 +89,3 @@ int main() {
printf("%d\n", bar());
}
EOF
-
diff --git a/tests/do_while.sh b/tests/do_while.sh
index dbb4815..57d0d8f 100644
--- a/tests/do_while.sh
+++ b/tests/do_while.sh
@@ -89,4 +89,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/empty_preprocessor.sh b/tests/empty_preprocessor.sh
index 57e33ad..5a744a8 100644
--- a/tests/empty_preprocessor.sh
+++ b/tests/empty_preprocessor.sh
@@ -7,4 +7,3 @@ test_diff <<'EOF'
#
int main() {}
EOF
-
diff --git a/tests/empty_statements.sh b/tests/empty_statements.sh
index 71caed5..8588944 100644
--- a/tests/empty_statements.sh
+++ b/tests/empty_statements.sh
@@ -4,4 +4,3 @@ EOF
test_diff <<'EOF'
int main() { ; }
EOF
-
diff --git a/tests/error_directive.sh b/tests/error_directive.sh
index a8b3fdb..becfa50 100644
--- a/tests/error_directive.sh
+++ b/tests/error_directive.sh
@@ -24,4 +24,3 @@ test_compile_error <<'EOF'
#error "foo"
EOF
-
diff --git a/tests/example_programs.sh b/tests/example_programs.sh
index 21b7ca4..24b3f29 100644
--- a/tests/example_programs.sh
+++ b/tests/example_programs.sh
@@ -130,4 +130,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/file_io.sh b/tests/file_io.sh
index 07a335e..4484324 100644
--- a/tests/file_io.sh
+++ b/tests/file_io.sh
@@ -28,4 +28,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/identifiers.sh b/tests/identifiers.sh
index 5786ff7..ae00bd3 100644
--- a/tests/identifiers.sh
+++ b/tests/identifiers.sh
@@ -13,4 +13,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/implicit_return.sh b/tests/implicit_return.sh
index 423844e..20a8bed 100644
--- a/tests/implicit_return.sh
+++ b/tests/implicit_return.sh
@@ -16,4 +16,3 @@ int main() {
else return 1;
}
EOF
-
diff --git a/tests/include_guards.sh b/tests/include_guards.sh
index 87c44a9..f8f0462 100644
--- a/tests/include_guards.sh
+++ b/tests/include_guards.sh
@@ -23,4 +23,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/include_local.sh b/tests/include_local.sh
index c9fe755..05c42b7 100644
--- a/tests/include_local.sh
+++ b/tests/include_local.sh
@@ -97,4 +97,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/increment_operators.sh b/tests/increment_operators.sh
index f6aa2b5..e7fb221 100644
--- a/tests/increment_operators.sh
+++ b/tests/increment_operators.sh
@@ -26,4 +26,3 @@ int main() {
printf("%d\n", a);
}
EOF
-
diff --git a/tests/input_operations.sh b/tests/input_operations.sh
index 15dfb2f..465108e 100644
--- a/tests/input_operations.sh
+++ b/tests/input_operations.sh
@@ -34,4 +34,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/invalid_directives.sh b/tests/invalid_directives.sh
index 877f9e9..2152666 100644
--- a/tests/invalid_directives.sh
+++ b/tests/invalid_directives.sh
@@ -25,4 +25,3 @@ test_diff <<'EOF'
int main() {}
EOF
-
diff --git a/tests/line_continuation.sh b/tests/line_continuation.sh
index c5b5c2e..89f4543 100644
--- a/tests/line_continuation.sh
+++ b/tests/line_continuation.sh
@@ -54,4 +54,3 @@ test_diff < main_cr.c
# Mixed
printf 'int printf(const char*, ...);\nint main() {\r\n printf("Hello World\\n");\r printf("Line con\\\r\ntinues\\n");\n return 0;\r\n}\r\n' > main_mixed.c
test_diff < main_mixed.c
-
diff --git a/tests/logical_operators.sh b/tests/logical_operators.sh
index 1cc6594..b4332e5 100644
--- a/tests/logical_operators.sh
+++ b/tests/logical_operators.sh
@@ -65,4 +65,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/nested_conditionals.sh b/tests/nested_conditionals.sh
index d149e07..7c673ab 100644
--- a/tests/nested_conditionals.sh
+++ b/tests/nested_conditionals.sh
@@ -9,4 +9,3 @@ test_diff <<'EOF'
int main() {}
EOF
-
diff --git a/tests/pointer_basics.sh b/tests/pointer_basics.sh
index 2b0beef..6faa421 100644
--- a/tests/pointer_basics.sh
+++ b/tests/pointer_basics.sh
@@ -77,4 +77,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/predefined_macros.sh b/tests/predefined_macros.sh
index 51aeca8..ada2fdd 100644
--- a/tests/predefined_macros.sh
+++ b/tests/predefined_macros.sh
@@ -52,4 +52,3 @@ int main() {
printf("%d %d\n", A, A);
}
EOF
-
diff --git a/tests/preprocessor_comments.sh b/tests/preprocessor_comments.sh
index 0fcea83..40b2c82 100644
--- a/tests/preprocessor_comments.sh
+++ b/tests/preprocessor_comments.sh
@@ -8,4 +8,3 @@ test_diff <<'EOF'
int main() {}
EOF
-
diff --git a/tests/printf.sh b/tests/printf.sh
index da35fcb..7c4454c 100644
--- a/tests/printf.sh
+++ b/tests/printf.sh
@@ -217,4 +217,3 @@ int main() {
printf("%d\n", sizeof(int long long unsigned));
}
EOF
-
diff --git a/tests/short_type.sh b/tests/short_type.sh
index fcbec87..b298a98 100644
--- a/tests/short_type.sh
+++ b/tests/short_type.sh
@@ -14,4 +14,3 @@ int main() {
printf("%zu %hd\n", sizeof(b), *b);
}
EOF
-
diff --git a/tests/sizeof_operator.sh b/tests/sizeof_operator.sh
index b14e2ca..c8df5da 100644
--- a/tests/sizeof_operator.sh
+++ b/tests/sizeof_operator.sh
@@ -174,4 +174,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/stdlib_declarations.sh b/tests/stdlib_declarations.sh
index c919b88..efd6a30 100644
--- a/tests/stdlib_declarations.sh
+++ b/tests/stdlib_declarations.sh
@@ -19,4 +19,3 @@ char* strstr(const char*, const char*);
int main() { return 0; }
EOF
-
diff --git a/tests/struct_arrays.sh b/tests/struct_arrays.sh
index ca1e0b2..628c0d3 100644
--- a/tests/struct_arrays.sh
+++ b/tests/struct_arrays.sh
@@ -31,4 +31,3 @@ int main() {
printf("%d\n", x.a[4]);
}
EOF
-
diff --git a/tests/struct_basics.sh b/tests/struct_basics.sh
index 74e2458..2dff3bb 100644
--- a/tests/struct_basics.sh
+++ b/tests/struct_basics.sh
@@ -118,4 +118,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/struct_initialization.sh b/tests/struct_initialization.sh
index 0454c57..f2c92cf 100644
--- a/tests/struct_initialization.sh
+++ b/tests/struct_initialization.sh
@@ -105,4 +105,3 @@ int main() {
printf("%d %d\n", s2.a, s2.b);
}
EOF
-
diff --git a/tests/typedef_struct.sh b/tests/typedef_struct.sh
index 7181a86..593d903 100644
--- a/tests/typedef_struct.sh
+++ b/tests/typedef_struct.sh
@@ -82,4 +82,3 @@ int main() {
printf("%zu\n", sizeof(E));
}
EOF
-
diff --git a/tests/unions.sh b/tests/unions.sh
index b588792..d1e87d6 100644
--- a/tests/unions.sh
+++ b/tests/unions.sh
@@ -20,4 +20,3 @@ int main() {
printf("%ld\n", u.l);
}
EOF
-
diff --git a/tests/variadic_functions.sh b/tests/variadic_functions.sh
index ec85d9a..4f899ee 100644
--- a/tests/variadic_functions.sh
+++ b/tests/variadic_functions.sh
@@ -29,4 +29,3 @@ int main() {
return 0;
}
EOF
-
diff --git a/tests/void_functions.sh b/tests/void_functions.sh
index 57116ce..656c2c1 100644
--- a/tests/void_functions.sh
+++ b/tests/void_functions.sh
@@ -46,4 +46,3 @@ int main() {
return 0;
}
EOF
-