Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Modules / Inputs / DebugObjC.h
blobaf1cd981ce1c2594da258adfab2c92ebe98e32e5
1 // -*- ObjC -*-
2 @class FwdDecl;
4 @interface ObjCClass {
5 int ivar;
7 + classMethod;
8 - instanceMethodWithInt:(int)i;
9 - (struct OpaqueData*) getSomethingOpaque;
10 @property int property;
11 @end
13 @interface ObjCClassWithPrivateIVars {
14 int public_ivar;
16 @end
18 @interface ObjCClass (Category)
19 - categoryMethod;
20 @end
22 @protocol ObjCProtocol
24 typedef enum {
25 e0 = 0
26 } InnerEnum;
28 + (InnerEnum)protocolMethod;
30 @end
32 struct FwdDeclared;
33 struct FwdDeclared {
34 int i;
36 struct PureForwardDecl;
38 typedef union { int i; } TypedefUnion;
39 typedef enum { e1 = 1 } TypedefEnum;
40 typedef struct { int i; } TypedefStruct;
42 union { int i; } GlobalUnion;
43 struct { int i; } GlobalStruct;
44 enum { e2 = 2 } GlobalEnum;