xref: /minix3/external/bsd/llvm/dist/clang/test/Rewriter/objc-modern-getclass-proto.mm (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -E %s -o %t.mm
2*f4a2713aSLionel Sambuc// RUN: %clang_cc1 -x objective-c++ -fblocks -fms-extensions -rewrite-objc -fobjc-runtime=macosx-fragile-10.5 %t.mm -o %t-rw.cpp
3*f4a2713aSLionel Sambuc// rdar://11375495
4*f4a2713aSLionel Sambuc
5*f4a2713aSLionel Sambuc@interface I @end
6*f4a2713aSLionel Sambuc@implementation I @end
7*f4a2713aSLionel Sambuc
8*f4a2713aSLionel Sambuc// CHECK: __OBJC_RW_DLLIMPORT struct objc_class *objc_getClass(const char *);
9*f4a2713aSLionel Sambuc// CHECK: __OBJC_RW_DLLIMPORT struct objc_class *objc_getMetaClass(const char *);
10*f4a2713aSLionel Sambuc
11