aboutsummaryrefslogtreecommitdiff
path: root/tests/tcctest.c
diff options
context:
space:
mode:
authorVincent Lefevre <vincent@vinc17.net>2014-04-07 13:31:00 +0200
committerVincent Lefevre <vincent@vinc17.net>2014-04-07 13:31:00 +0200
commit3e9a7e9d69e3adb0e9ed65d11caf415e74458fe9 (patch)
tree9cb8986b31d58cd7ba2eb8e28a437cd7fa33b838 /tests/tcctest.c
parentd09a46d655f18e88b848e95ddf7fed7ac20bfc36 (diff)
downloadtinycc-3e9a7e9d69e3adb0e9ed65d11caf415e74458fe9.tar.gz
tinycc-3e9a7e9d69e3adb0e9ed65d11caf415e74458fe9.tar.bz2
Corrected spelling mistakes in comments and strings
Diffstat (limited to 'tests/tcctest.c')
-rw-r--r--tests/tcctest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index c48c1bc..cc8ffd8 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -2254,7 +2254,7 @@ void c99_vla_test(int size1, int size2)
printf("%s\n", (sizeof tab1 == size1 * size2 * 2 * sizeof(int)) ? "PASSED" : "FAILED");
tab1_ptr = tab1;
tab2_ptr = tab2;
- printf("Test C99 VLA 2 (ptrs substract): ");
+ printf("Test C99 VLA 2 (ptrs subtract): ");
printf("%s\n", (tab2 - tab1 == (tab2_ptr - tab1_ptr) / (sizeof(int) * 2)) ? "PASSED" : "FAILED");
printf("Test C99 VLA 3 (ptr add): ");
printf("%s\n", &tab1[5][1] == (tab1_ptr + (5 * 2 + 1) * sizeof(int)) ? "PASSED" : "FAILED");