diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-05-11 01:53:27 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2012-05-11 01:53:27 +0000 |
commit | 79993dc53d212c663415d3c48ed5ec41cee2bdf7 (patch) | |
tree | 724a6f48c6b1c4d606e40be81d1584ac48a08b07 | |
parent | bf9da1f8292bb66720ada94a050ede9dca17f60a (diff) |
Add a test case for going through typedefs until we reach "BOOL", that NSAPI::isObjCTypedef() is doing.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156604 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenObjC/boxing.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGenObjC/boxing.m b/test/CodeGenObjC/boxing.m index 16b66bbeb4..3c24779f9a 100644 --- a/test/CodeGenObjC/boxing.m +++ b/test/CodeGenObjC/boxing.m @@ -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); |