]> granicus.if.org Git - clang/commitdiff
Add a test case for going through typedefs until we reach "BOOL", that NSAPI::isObjCT...
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 11 May 2012 01:53:27 +0000 (01:53 +0000)
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>
Fri, 11 May 2012 01:53:27 +0000 (01:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156604 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/boxing.m

index 16b66bbeb49e3f5a56fda473eb178f783043bad2..3c24779f9a1e4526a949684d2fbc1f0d33183ebc 100644 (file)
@@ -76,6 +76,8 @@ int main() {
   // 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);