Files
swift-mirror/test/Parse/BOM.swift
Dave Zarzycki adf26ccd2a 15836688 Fail gracefully on UTF-16 input files
Swift SVN r12420
2014-01-16 21:34:55 +00:00

4 lines
161 B
Swift

// RUN: %swift %s -parse -verify
ÿþ // expected-error{{UTF-16 BOM marker is not valid UTF-8}}
asdfadf() // no error, the BOM marker causes us to skip to the end