From e4bb68a475e1fcc1e47dff866b0b565db8254f85 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Fri, 19 Dec 2008 17:45:06 +0000 Subject: [PATCH] Test case for my last @encode patch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61247 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenObjC/encode-test.m | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 test/CodeGenObjC/encode-test.m diff --git a/test/CodeGenObjC/encode-test.m b/test/CodeGenObjC/encode-test.m new file mode 100644 index 0000000000..f5b6b92071 --- /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 -- 2.50.1