summaryrefslogtreecommitdiffstats
path: root/test/CodeGenObjC/encode-test.m
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGenObjC/encode-test.m')
-rw-r--r--test/CodeGenObjC/encode-test.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGenObjC/encode-test.m b/test/CodeGenObjC/encode-test.m
index ade0c61..f30fb26 100644
--- a/test/CodeGenObjC/encode-test.m
+++ b/test/CodeGenObjC/encode-test.m
@@ -161,3 +161,7 @@ struct f
// CHECK: @g10 = constant [14 x i8] c"{f=i[0{?=}]i}\00"
const char g10[] = @encode(struct f);
+
+// rdar://9622422
+// CHECK: @g11 = constant [2 x i8] c"v\00"
+const char g11[] = @encode(void);
OpenPOWER on IntegriCloud