From c67263f359b29cb23c9bf0b1a33fcdcc50fd129d Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Tue, 10 Jul 2018 18:13:06 -0700 Subject: 0.5: Reject 0x7f (DEL) in strings. cc #224 --- test-suite/tests/invalid-misc.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test-suite/tests') diff --git a/test-suite/tests/invalid-misc.rs b/test-suite/tests/invalid-misc.rs index bb70b97..7d34651 100644 --- a/test-suite/tests/invalid-misc.rs +++ b/test-suite/tests/invalid-misc.rs @@ -14,4 +14,6 @@ fn bad() { bad("a = -inf"); bad("a = inf"); bad("a = 9e99999"); + bad("a = \"\u{7f}\""); + bad("a = '\u{7f}'"); } -- cgit v1.2.3