2 // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -Wno-private-module -F %S/Inputs -I %S/Inputs/DependsOnModule.framework %s -verify
3 // RUN: %clang_cc1 -fmodules-cache-path=%t -fmodules -fimplicit-module-maps -Wno-private-module -F %S/Inputs -I %S/Inputs/DependsOnModule.framework %s -verify -fcoroutines-ts -DCOROUTINES
6 @import DependsOnModule.Coroutines;
7 // expected-error@module.map:29 {{module 'DependsOnModule.NotCoroutines' is incompatible with feature 'coroutines'}}
8 @import DependsOnModule.NotCoroutines; // expected-note {{module imported here}}
10 @import DependsOnModule.NotCoroutines;
11 // expected-error@module.map:25 {{module 'DependsOnModule.Coroutines' requires feature 'coroutines'}}
12 @import DependsOnModule.Coroutines; // expected-note {{module imported here}}