From 56603ef7b2799a8036efb9d6755d30e44951e6a3 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Tue, 7 Sep 2010 19:38:13 +0000 Subject: Have Sema check for validity of CGString literal instead of asserting in IRGen. Fixes radar 8390459. llvm-svn: 113253 --- clang/test/CodeGen/illegal-UTF8.m | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'clang/test/CodeGen') diff --git a/clang/test/CodeGen/illegal-UTF8.m b/clang/test/CodeGen/illegal-UTF8.m index 871e6e5956a..4762e800259 100644 --- a/clang/test/CodeGen/illegal-UTF8.m +++ b/clang/test/CodeGen/illegal-UTF8.m @@ -2,7 +2,5 @@ @class NSString; -// FIXME: GCC emits the following warning: -// CodeGen/illegal-UTF8.m:4: warning: input conversion stopped due to an input byte that does not belong to the input codeset UTF-8 -NSString *S = @"\xff\xff___WAIT___"; +NSString *S = @"\xff\xff___WAIT___"; // expected-warning {{input conversion stopped due to an input byte that does not belong to the input codeset UTF-8}} -- cgit v1.2.3