annotate clang/test/Modules/module-name-used-by-objc-bridge.m @ 266:00f31e85ec16 default tip

Added tag current for changeset 31d058e83c98
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Sat, 14 Oct 2023 10:13:55 +0900
parents c4bab56944e8
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
236
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
1 // RUN: rm -rf %t && mkdir %t
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
2
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
3 // RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodule-name=InterfaceBridge \
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
4 // RUN: %S/Inputs/module-name-used-by-objc-bridge/module.modulemap -o %t/InterfaceBridge.pcm
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
5
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
6 // RUN: %clang_cc1 -fmodules -x objective-c -emit-module -fmodule-name=Interface \
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
7 // RUN: %S/Inputs/module-name-used-by-objc-bridge/module.modulemap -o %t/Interface.pcm
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
8
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
9 // Check that the `-fmodule-file=<name>=<path>` form succeeds:
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
10 // RUN: %clang_cc1 -fmodules -fsyntax-only %s -I %S/Inputs/module-name-used-by-objc-bridge \
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
11 // RUN: -fmodule-file=InterfaceBridge=%t/InterfaceBridge.pcm -fmodule-file=Interface=%t/Interface.pcm \
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
12 // RUN: -fmodule-map-file=%S/Inputs/module-name-used-by-objc-bridge/module.modulemap -verify
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
13
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
14 // Check that the `-fmodule-file=<path>` form succeeds:
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
15 // RUN: %clang_cc1 -fmodules -fsyntax-only %s -I %S/Inputs/module-name-used-by-objc-bridge \
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
16 // RUN: -fmodule-file=%t/InterfaceBridge.pcm -fmodule-file=%t/Interface.pcm \
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
17 // RUN: -fmodule-map-file=%S/Inputs/module-name-used-by-objc-bridge/module.modulemap -verify
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
18
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
19 #import "InterfaceBridge.h"
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
20 #import "Interface.h"
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
21
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
22 @interface Interface (User)
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
23 @end
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
24
c4bab56944e8 LLVM 16
kono
parents:
diff changeset
25 // expected-no-diagnostics