annotate clang/test/CodeGenObjC/undefined-protocol2.m @ 206:f17a3b42b08b

Added tag before-12 for changeset b7591485f4cd
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 07 Jun 2021 21:25:57 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // RUN: %clang_cc1 -triple x86_64-apple-macosx -emit-llvm %s -o - | FileCheck %s
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 // Test that we produce a declaration for the protocol. It must be matched
anatofuz
parents:
diff changeset
4 // by a definition in another TU, so external is the correct linkage
anatofuz
parents:
diff changeset
5 // (not extern_weak).
anatofuz
parents:
diff changeset
6 // CHECK: @"_OBJC_PROTOCOL_$_p1" = external global
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 @interface NSObject
anatofuz
parents:
diff changeset
9 @end
anatofuz
parents:
diff changeset
10
anatofuz
parents:
diff changeset
11 @protocol p1;
anatofuz
parents:
diff changeset
12
anatofuz
parents:
diff changeset
13 @interface I1 : NSObject <p1>
anatofuz
parents:
diff changeset
14 @end
anatofuz
parents:
diff changeset
15
anatofuz
parents:
diff changeset
16 @implementation I1
anatofuz
parents:
diff changeset
17 @end