aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/CodeGenObjC/boxing.m2
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);