diff --git a/Test/ForwardDeclareProtocolAccess.m b/Test/ForwardDeclareProtocolAccess.m index 5e36399..122c65d 100644 --- a/Test/ForwardDeclareProtocolAccess.m +++ b/Test/ForwardDeclareProtocolAccess.m @@ -15,6 +15,10 @@ int main(void) #ifdef GS_RUNTIME_V2 // With the new ABI, these should be precisely the same object. assert(p1 == p2); + unsigned int count; + protocol_copyMethodDescriptionList(p2, YES, YES, &count); + // We did get the correct protocol! + assert(count == 1); #endif return 0; }