blob: 2b313e49fd2deb477f06bbc4629bbb9f87fe9ec2 [file] [log] [blame]
Chris Lattnere127a0d2010-04-20 20:35:58 +00001// RUN: not %clang %s -fsyntax-only -verify
Chris Lattner38caec42010-04-20 18:14:03 +00002// rdar://7876588
3
Chris Lattnere127a0d2010-04-20 20:35:58 +00004// This test verifies that clang gives a decent error for UTF-16 source files.
5
6#include "utf-16.c.txt" // expected-error {{UTF-16 (LE) byte order mark detected}}