From 89000c18dc7d5ccb2687948f94fe49d392990dab Mon Sep 17 00:00:00 2001 From: jiang <30155751@qq.com> Date: Tue, 1 Jul 2014 23:54:49 +0800 Subject: [PATCH] Rename: 68_macro_concat.c -> 68_macro_param_list_err_1.c 69_macro_concat.c -> 69_macro_param_list_err_2.c and Remove spaces --- tests/tests2/68_macro_concat.expect | 1 - tests/tests2/{68_macro_concat.c => 68_macro_param_list_err_1.c} | 2 +- tests/tests2/68_macro_param_list_err_1.expect | 1 + tests/tests2/69_macro_concat.expect | 1 - tests/tests2/{69_macro_concat.c => 69_macro_param_list_err_2.c} | 2 +- tests/tests2/69_macro_param_list_err_2.expect | 1 + tests/tests2/Makefile | 4 ++-- 7 files changed, 6 insertions(+), 6 deletions(-) delete mode 100644 tests/tests2/68_macro_concat.expect rename tests/tests2/{68_macro_concat.c => 68_macro_param_list_err_1.c} (88%) create mode 100644 tests/tests2/68_macro_param_list_err_1.expect delete mode 100644 tests/tests2/69_macro_concat.expect rename tests/tests2/{69_macro_concat.c => 69_macro_param_list_err_2.c} (88%) create mode 100644 tests/tests2/69_macro_param_list_err_2.expect 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 -- 2.11.4.GIT