repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
CodeGenObjC
/
attr-used-on-method.m
blob
d8b2a5d291841a2d1301dd633c52d7558b3f51aa
1
// RUN: %clang_cc1 -triple x86_64-apple-macosx10.10 %s -S -emit-llvm -o - | FileCheck %s
2
3
// CHECK: @llvm.used =
4
// CHECK-SAME: @"\01-[X m]"
5
6
// CHECK: define internal void @"\01-[X m]"(
7
8
@interface X @end
9
@implementation X
10
-(void) m __attribute__((used)) {}
11
@end