1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2 // expected-no-diagnostics
4 typedef struct objc_class *Class;
10 typedef struct objc_object {
14 @interface XCActivityLogSection
15 + (unsigned)serializationFormatVersion;
16 + (unsigned)sectionByDeserializingData;
20 @implementation XCActivityLogSection
22 + (unsigned)serializationFormatVersion
27 + (unsigned)sectionByDeserializingData {
29 return self.serializationFormatVersion;
32 + (Class)retursClass {
34 // FIXIT. (*version).isa does not work. Results in compiler error.