summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2013-10-27 17:43:21 -0400
committerPaul Smith <psmith@gnu.org>2013-10-27 17:43:21 -0400
commitfdffa8c8e0cb033ce00ba6968b269ac55320ee17 (patch)
treedde26bb0aa35ebc2f7790f434f0e94a93ee18577 /tests
parentd73a4fa5262a4f1a2ec344e97f50ad43a2f6dc3e (diff)
downloadmake-fdffa8c8e0cb033ce00ba6968b269ac55320ee17.tar.gz
* makeint.h (STOP_SET): [SV 40371] Cast to unsigned char.
* tests/scripts/misc/utf8: Test variable names with characters >127. Fix suggested by Robert Bogomip <bob.bogo@milohedge.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/scripts/misc/utf814
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/scripts/misc/utf8 b/tests/scripts/misc/utf8
new file mode 100644
index 00000000..2adcd071
--- /dev/null
+++ b/tests/scripts/misc/utf8
@@ -0,0 +1,14 @@
+# -*-perl-*-
+$description = "Test utf8 handling.";
+
+$details = "";
+
+# Variable names containing UTF8 characters
+run_make_test("
+\xe2\x96\xaa := hello
+\$(info \$(\xe2\x96\xaa))
+all:
+",
+ '', "hello\n#MAKE#: Nothing to be done for 'all'.");
+
+1;