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 | 74d7f15aedabd39b7b11569820171eb552fb19f8 (patch) | |
| tree | 04cf0d6cd580535993495cb453231ac1dcd79d33 | |
| parent | e37614438f45d214ac5bdf46803d7acbd3983848 (diff) | |
| download | llvm-74d7f15aedabd39b7b11569820171eb552fb19f8.zip llvm-74d7f15aedabd39b7b11569820171eb552fb19f8.tar.gz llvm-74d7f15aedabd39b7b11569820171eb552fb19f8.tar.bz2 | |
Add a test case for going through typedefs until we reach "BOOL", that NSAPI::isObjCTypedef() is doing.
llvm-svn: 156604
| -rw-r--r-- | clang/test/CodeGenObjC/boxing.m | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/boxing.m b/clang/test/CodeGenObjC/boxing.m index 16b66bbe..3c24779 100644 --- a/clang/test/CodeGenObjC/boxing.m +++ b/clang/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); |
