forward-declare-protocol-gnu.m 276 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 // RUN: %clang -S -emit-llvm %s -o - -x objective-c -fobjc-runtime=gnustep-1.5 | FileCheck %s // Regression test: check that we don't crash when referencing a forward-declared protocol. @protocol P; @interface I <P> @end @implementation I @end // CHECK: @.objc_protocol