r199669 - Make the test more strict.

Rafael Espindola rafael.espindola at gmail.com
Mon Jan 20 07:58:59 PST 2014


Author: rafael
Date: Mon Jan 20 09:58:59 2014
New Revision: 199669

URL: http://llvm.org/viewvc/llvm-project?rev=199669&view=rev
Log:
Make the test more strict.

Modified:
    cfe/trunk/test/CodeGenObjC/2010-02-01-utf16-with-null.m

Modified: cfe/trunk/test/CodeGenObjC/2010-02-01-utf16-with-null.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/2010-02-01-utf16-with-null.m?rev=199669&r1=199668&r2=199669&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/2010-02-01-utf16-with-null.m (original)
+++ cfe/trunk/test/CodeGenObjC/2010-02-01-utf16-with-null.m Mon Jan 20 09:58:59 2014
@@ -1,5 +1,7 @@
 // RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
 // rdar://7589850
 
-// CHECK-NOT: __ustring
+// CHECK: @.str = internal unnamed_addr constant [9 x i16] [i16 103, i16 111, i16 111, i16 100, i16 0, i16 98, i16 121, i16 101, i16 0], align 2
+// CHECK: @_unnamed_cfstring_ = private constant %struct.NSConstantString { i32* getelementptr inbounds ([0 x i32]* @__CFConstantStringClassReference, i32 0, i32 0), i32 2000, i8* bitcast ([9 x i16]* @.str to i8*), i32 8 }, section "__DATA,__cfstring"
+// CHECK: @P = global i8* bitcast (%struct.NSConstantString* @_unnamed_cfstring_ to i8*), align 4
 void *P = @"good\0bye";





More information about the cfe-commits mailing list