diff --git a/tests/tests2/68_macro_concat.expect b/tests/tests2/68_macro_concat.expect deleted file mode 100644 index 0bf7d54b..00000000 --- a/tests/tests2/68_macro_concat.expect +++ /dev/null @@ -1 +0,0 @@ -68_macro_concat.c:2: error: '(' may not appear in parameter list diff --git a/tests/tests2/68_macro_concat.c b/tests/tests2/68_macro_param_list_err_1.c similarity index 88% rename from tests/tests2/68_macro_concat.c rename to tests/tests2/68_macro_param_list_err_1.c index 5c1361f9..fd08dc76 100644 --- a/tests/tests2/68_macro_concat.c +++ b/tests/tests2/68_macro_param_list_err_1.c @@ -3,7 +3,7 @@ int main(void) { - int c = 0xa; + int c = 0xa; printf("hex: %c\n", hexCh(c)); return 0; } diff --git a/tests/tests2/68_macro_param_list_err_1.expect b/tests/tests2/68_macro_param_list_err_1.expect new file mode 100644 index 00000000..3246640d --- /dev/null +++ b/tests/tests2/68_macro_param_list_err_1.expect @@ -0,0 +1 @@ +68_macro_param_list_err_1.c:2: error: '(' may not appear in parameter list diff --git a/tests/tests2/69_macro_concat.expect b/tests/tests2/69_macro_concat.expect deleted file mode 100644 index 89e7b79b..00000000 --- a/tests/tests2/69_macro_concat.expect +++ /dev/null @@ -1 +0,0 @@ -69_macro_concat.c:2: error: '/' may not appear in parameter list diff --git a/tests/tests2/69_macro_concat.c b/tests/tests2/69_macro_param_list_err_2.c similarity index 88% rename from tests/tests2/69_macro_concat.c rename to tests/tests2/69_macro_param_list_err_2.c index 3b163134..06f0b418 100644 --- a/tests/tests2/69_macro_concat.c +++ b/tests/tests2/69_macro_param_list_err_2.c @@ -3,7 +3,7 @@ int main(void) { - int c = 0xa; + int c = 0xa; printf("hex: %c\n", hexCh(c)); return 0; } diff --git a/tests/tests2/69_macro_param_list_err_2.expect b/tests/tests2/69_macro_param_list_err_2.expect new file mode 100644 index 00000000..6d6b9d1b --- /dev/null +++ b/tests/tests2/69_macro_param_list_err_2.expect @@ -0,0 +1 @@ +69_macro_param_list_err_2.c:2: error: '/' may not appear in parameter list diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index 64532a1b..bfd37e56 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -83,8 +83,8 @@ TESTS = \ 65_macro_concat_start.test \ 66_macro_concat_end.test \ 67_macro_concat.test \ - 68_macro_concat.test \ - 69_macro_concat.test + 68_macro_param_list_err_1.test \ + 69_macro_param_list_err_2.test # 34_array_assignment.test -- array assignment is not in C standard