brintos

brintos / llvm-project-archived public Read only

0
0
Text · 499 B · 371abf2 Raw
48 lines · plain
1// RUN: %clang_cc1 -emit-llvm -o %t %s2 3@interface BASE  {4@private5    void* _reserved;6}7@end8 9@class PVR;10 11@interface PVRHandldler 12{13          PVR *_imageBrowser;14}15@end16 17@implementation PVRHandldler @end18 19 20@interface PVR   : BASE21@end22 23@implementation PVR24@end25 26// Reopen of an interface after use.27 28@interface A { 29@public 30  int x; 31} 32@property int p0;33@end34 35int f0(A *a) { 36  return a.p0; 37}38 39@implementation A40@synthesize p0 = _p0;41@end42 43@interface B44@end45@class B;46@implementation B47@end48