annotate clang/test/Modules/objc_redef.m @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 @import redeclarations_left;
anatofuz
parents:
diff changeset
2 @import weird_objc;
anatofuz
parents:
diff changeset
3
anatofuz
parents:
diff changeset
4 int test(id x) {
anatofuz
parents:
diff changeset
5 return x->wibble;
anatofuz
parents:
diff changeset
6 }
anatofuz
parents:
diff changeset
7
anatofuz
parents:
diff changeset
8 // RUN: rm -rf %t
anatofuz
parents:
diff changeset
9 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=redeclarations_left %S/Inputs/module.map
anatofuz
parents:
diff changeset
10 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -x objective-c -fmodules-cache-path=%t -emit-module -fmodule-name=weird_objc %S/Inputs/module.map
anatofuz
parents:
diff changeset
11 // RUN: %clang_cc1 -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -I %S/Inputs %s -verify
anatofuz
parents:
diff changeset
12 // expected-no-diagnostics
anatofuz
parents:
diff changeset
13