Files
clang-p2996/clang/test/CodeGen/illegal-UTF8.m
Fariborz Jahanian 56603ef7b2 Have Sema check for validity of CGString literal
instead of asserting in IRGen. Fixes radar 8390459.

llvm-svn: 113253
2010-09-07 19:38:13 +00:00

7 lines
206 B
Objective-C

// RUN: %clang %s -S -m64 -o -
@class NSString;
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}}