1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fexceptions" } */
4 typedef struct objc_object { Class class_pointer; } *id;
5 typedef unsigned char BOOL;
13 @interface Object (Test)
14 - (BOOL)testIsEqual:anObject;
17 @implementation Object (Test)
18 - (BOOL)testIsEqual:anObject
20 return self == anObject;
24 #ifdef __NEXT_RUNTIME__
25 @interface NSConstantString: Object
31 extern void *_NSConstantStringClassReference;
33 @interface NXConstantString: Object
43 if ([@"strings" testIsEqual: (id)0])