diff options
author | Quentin Colombet <qcolombet@apple.com> | 2012-11-01 23:55:47 +0000 |
---|---|---|
committer | Quentin Colombet <qcolombet@apple.com> | 2012-11-01 23:55:47 +0000 |
commit | 4e172067b2237dbe053c95a89945e03f70b75dd6 (patch) | |
tree | ca78ca54c139d74cefc74115a90a86f7afd9b0c1 /clang/test/CodeGenObjC/attr-minsize.m | |
parent | 3d5af279b1790620c9554cf216903968643055cb (diff) | |
download | bcm5719-llvm-4e172067b2237dbe053c95a89945e03f70b75dd6.tar.gz bcm5719-llvm-4e172067b2237dbe053c95a89945e03f70b75dd6.zip |
Update the front end to use minsize attribute
llvm-svn: 167266
Diffstat (limited to 'clang/test/CodeGenObjC/attr-minsize.m')
-rw-r--r-- | clang/test/CodeGenObjC/attr-minsize.m | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clang/test/CodeGenObjC/attr-minsize.m b/clang/test/CodeGenObjC/attr-minsize.m new file mode 100644 index 00000000000..f46107eca61 --- /dev/null +++ b/clang/test/CodeGenObjC/attr-minsize.m @@ -0,0 +1,12 @@ +// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s + +@interface Test +- (void)test; +@end + +@implementation Test +- (void)test __attribute__((minsize)) { + // CHECK: define{{.*}}Test test + // CHECK: minsize +} +@end |