[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang / test / CodeGenObjC / forward-declare-protocol-gnu.m
blob3731fb078eea93e281a796ca4df9aa8eeddc305c
1 // RUN: %clang -S -emit-llvm %s -o - -x objective-c -fobjc-runtime=gnustep-1.5 | FileCheck  %s
3 // Regression test: check that we don't crash when referencing a forward-declared protocol.
4 @protocol P;
6 @interface I <P>
7 @end
9 @implementation I
11 @end
13 // CHECK: @.objc_protocol