Test case for my last @encode patch.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61247 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGenObjC/encode-test.m b/test/CodeGenObjC/encode-test.m
new file mode 100644
index 0000000..f5b6b92
--- /dev/null
+++ b/test/CodeGenObjC/encode-test.m
@@ -0,0 +1,17 @@
+// RUN: clang -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: grep -e "\^{Innermost=CC}" %t | count 1
+
+@class Int1;
+
+struct Innermost {
+  unsigned char a, b;
+};
+
+@interface Int1 {
+  signed char a, b;
+  struct Innermost *innermost;
+}
+@end
+
+@implementation Int1
+@end