1# These test special (mostly error) UTF features of DFA matching. They are a 2# selection of the more comprehensive tests that are run for non-DFA matching. 3# The output is different for the different widths. 4 5#subject dfa 6 7/X/utf 8 XX\x{d800} 9Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 10 XX\x{d800}\=offset=3 11No match 12 XX\x{d800}\=no_utf_check 13 0: X 14 XX\x{da00} 15Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 16 XX\x{da00}\=no_utf_check 17 0: X 18 XX\x{dc00} 19Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 20 XX\x{dc00}\=no_utf_check 21 0: X 22 XX\x{de00} 23Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 24 XX\x{de00}\=no_utf_check 25 0: X 26 XX\x{dfff} 27Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 28 XX\x{dfff}\=no_utf_check 29 0: X 30 XX\x{110000} 31Failed: error -28: UTF-32 error: code points greater than 0x10ffff are not defined at offset 2 32 XX\x{d800}\x{1234} 33Failed: error -27: UTF-32 error: code points 0xd800-0xdfff are not defined at offset 2 34 35/badutf/utf 36 X\xdf 37No match 38 XX\xef 39No match 40 XXX\xef\x80 41No match 42 X\xf7 43No match 44 XX\xf7\x80 45No match 46 XXX\xf7\x80\x80 47No match 48 49/shortutf/utf 50 XX\xdf\=ph 51No match 52 XX\xef\=ph 53No match 54 XX\xef\x80\=ph 55No match 56 \xf7\=ph 57No match 58 \xf7\x80\=ph 59No match 60 61# End of testinput14 62