summaryrefslogtreecommitdiff
path: root/test/testc.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testc.c')
-rw-r--r--test/testc.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/test/testc.c b/test/testc.c
index 1a60c8a..e37665a 100644
--- a/test/testc.c
+++ b/test/testc.c
@@ -2,9 +2,6 @@
* This program was generated by testconv.rb.
*/
#include "config.h"
-#ifdef ONIG_ESCAPE_UCHAR_COLLISION
-#undef ONIG_ESCAPE_UCHAR_COLLISION
-#endif
#include <stdio.h>
#ifdef POSIX_TEST
@@ -690,12 +687,6 @@ extern int main(int argc, char* argv[])
x2("^\\X$", "\x0d\x0a", 0, 2);
x2("^\\X\\X\\X$", "ab\x0d\x0a", 0, 4);
- /*
- < ifndef IGNORE_EUC_JP >
- for testcases print warnings #63
- warning: illegal character encoding in string literal [-Winvalid-source-encoding]
- */
-#ifndef IGNORE_EUC_JP
x2("", "あ", 0, 0);
x2("あ", "あ", 0, 2);
n("い", "あ");
@@ -977,8 +968,6 @@ extern int main(int argc, char* argv[])
n("\\P{Hiragana}", "ぴ");
#endif
-#endif /* IGNORE_EUC_JP */
-
fprintf(stdout,
"\nRESULT SUCC: %d, FAIL: %d, ERROR: %d (by Oniguruma %s)\n",
nsucc, nfail, nerror, onig_version());