annotate clang/test/Modules/requires.mm @ 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 |
|
rev |
line source |
150
|
1 // RUN: rm -rf %t
|
236
|
2 // RUN: %clang_cc1 -Rmodule-include-translation -Wno-private-module -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -F %S/Inputs -I %S/Inputs/DependsOnModule.framework %s -verify
|
150
|
3
|
|
4 @import DependsOnModule.CXX;
|
|
5 // expected-error@module.map:11 {{module 'DependsOnModule.NotCXX' is incompatible with feature 'cplusplus'}}
|
|
6 @import DependsOnModule.NotCXX; // expected-note {{module imported here}}
|
|
7 // expected-error@module.map:15 {{module 'DependsOnModule.NotObjC' is incompatible with feature 'objc'}}
|
|
8 @import DependsOnModule.NotObjC; // expected-note {{module imported here}}
|