aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tests2/68_macro_concat.expect1
-rw-r--r--tests/tests2/68_macro_param_list_err_1.c (renamed from tests/tests2/68_macro_concat.c)2
-rw-r--r--tests/tests2/68_macro_param_list_err_1.expect1
-rw-r--r--tests/tests2/69_macro_concat.expect1
-rw-r--r--tests/tests2/69_macro_param_list_err_2.c (renamed from tests/tests2/69_macro_concat.c)2
-rw-r--r--tests/tests2/69_macro_param_list_err_2.expect1
-rw-r--r--tests/tests2/Makefile4
7 files changed, 6 insertions, 6 deletions
diff --git a/tests/tests2/68_macro_concat.expect b/tests/tests2/68_macro_concat.expect
deleted file mode 100644
index 0bf7d54..0000000
--- 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
index 5c1361f..fd08dc7 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 0000000..3246640
--- /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 89e7b79..0000000
--- 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
index 3b16313..06f0b41 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 0000000..6d6b9d1
--- /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 64532a1..bfd37e5 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