forked from OSchip/llvm-project
Add a test case for going through typedefs until we reach "BOOL", that NSAPI::isObjCTypedef() is doing.
llvm-svn: 156604
This commit is contained in:
parent
e37614438f
commit
74d7f15aed
|
@ -76,6 +76,8 @@ int main() {
|
||||||
// CHECK: load i8** [[WithBoolSEL]]
|
// CHECK: load i8** [[WithBoolSEL]]
|
||||||
typeof(b) b2; @(b2);
|
typeof(b) b2; @(b2);
|
||||||
// CHECK: load i8** [[WithBoolSEL]]
|
// CHECK: load i8** [[WithBoolSEL]]
|
||||||
|
typedef const typeof(b) MyBOOL; MyBOOL b3; @(b3);
|
||||||
|
// CHECK: load i8** [[WithBoolSEL]]
|
||||||
@((BOOL)i);
|
@((BOOL)i);
|
||||||
// CHECK: load i8** [[WithIntegerSEL]]
|
// CHECK: load i8** [[WithIntegerSEL]]
|
||||||
@((NSInteger)i);
|
@((NSInteger)i);
|
||||||
|
|
Loading…
Reference in New Issue