[llvm-commits] [llvm] r95014 - /llvm/trunk/test/FrontendObjC/2010-02-01-utf16-with-null.m

Chris Lattner clattner at apple.com
Mon Feb 1 15:29:13 PST 2010


On Feb 1, 2010, at 2:32 PM, Evan Cheng wrote:

> Author: evancheng
> Date: Mon Feb  1 16:32:42 2010
> New Revision: 95014
>
> URL: http://llvm.org/viewvc/llvm-project?rev=95014&view=rev
> Log:
> Add test case for 95013.

Hey Evan,

I don't think this will go into ustring anyway, you need a non-ascii  
(unicode) character in there as well as \0.

-Chris


>
> Added:
>    llvm/trunk/test/FrontendObjC/2010-02-01-utf16-with-null.m
>
> Added: llvm/trunk/test/FrontendObjC/2010-02-01-utf16-with-null.m
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendObjC/2010-02-01-utf16-with-null.m?rev=95014&view=auto
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- llvm/trunk/test/FrontendObjC/2010-02-01-utf16-with-null.m (added)
> +++ llvm/trunk/test/FrontendObjC/2010-02-01-utf16-with-null.m Mon  
> Feb  1 16:32:42 2010
> @@ -0,0 +1,5 @@
> +/* RUN: %llvmgcc -w -x objective-c -S %s -o - | not grep {__ustring}
> +   rdar://7589850 */
> +
> +void *P = @"good\0bye";
> +
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits




More information about the llvm-commits mailing list