[cfe-commits] r61247 - /cfe/trunk/test/CodeGenObjC/encode-test.m
Fariborz Jahanian
fjahanian at apple.com
Fri Dec 19 09:45:15 PST 2008
Author: fjahanian
Date: Fri Dec 19 11:45:06 2008
New Revision: 61247
URL: http://llvm.org/viewvc/llvm-project?rev=61247&view=rev
Log:
Test case for my last @encode patch.
Added:
cfe/trunk/test/CodeGenObjC/encode-test.m
Added: cfe/trunk/test/CodeGenObjC/encode-test.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenObjC/encode-test.m?rev=61247&view=auto
==============================================================================
--- cfe/trunk/test/CodeGenObjC/encode-test.m (added)
+++ cfe/trunk/test/CodeGenObjC/encode-test.m Fri Dec 19 11:45:06 2008
@@ -0,0 +1,17 @@
+// RUN: clang -fnext-runtime -emit-llvm -o %t %s &&
+// RUN: grep -e "\^{Innermost=CC}" %t | count 1
+
+ at class Int1;
+
+struct Innermost {
+ unsigned char a, b;
+};
+
+ at interface Int1 {
+ signed char a, b;
+ struct Innermost *innermost;
+}
+ at end
+
+ at implementation Int1
+ at end
More information about the cfe-commits
mailing list