Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Modules/requires.mm @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
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}} |