[cfe-commits] r156604 - /cfe/trunk/test/CodeGenObjC/boxing.m

Argyrios Kyrtzidis akyrtzi at gmail.com
Thu May 10 18:53:27 PDT 2012


Author: akirtzidis
Date: Thu May 10 20:53:27 2012
New Revision: 156604

URL: http://llvm.org/viewvc/llvm-project?rev=156604&view=rev
Log:
Add a test case for going through typedefs until we reach "BOOL", that NSAPI::isObjCTypedef() is doing.

Modified:
    cfe/trunk/test/CodeGenObjC/boxing.m

Modified: cfe/trunk/test/CodeGenObjC/boxing.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/boxing.m?rev=156604&r1=156603&r2=156604&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenObjC/boxing.m (original)
+++ cfe/trunk/test/CodeGenObjC/boxing.m Thu May 10 20:53:27 2012
@@ -76,6 +76,8 @@
   // CHECK: load i8** [[WithBoolSEL]]
   typeof(b) b2; @(b2);
   // CHECK: load i8** [[WithBoolSEL]]
+  typedef const typeof(b) MyBOOL; MyBOOL b3; @(b3);
+  // CHECK: load i8** [[WithBoolSEL]]
   @((BOOL)i);
   // CHECK: load i8** [[WithIntegerSEL]]
   @((NSInteger)i);





More information about the cfe-commits mailing list