blob: 7c14e3932be074e1403485ff9b46cf56b64a7327 [file] [log] [blame]
Chris Lattner8fbe98b2010-04-20 18:14:03 +00001// RUN: not %clang -xc %s.txt -fsyntax-only 2>&1 | grep 'UTF-16 (LE) byte order mark detected'
2// rdar://7876588
3
4// This test verifies that clang gives a decent error for UTF-16 source files.