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
12