2012-04-14 14:01:31 +00:00
|
|
|
// RUN: rm -rf %t
|
2013-04-08 18:45:10 +00:00
|
|
|
// RUN: %clang_cc1 -Wauto-import -fmodules-cache-path=%t -fmodules -F %S/Inputs %s -verify
|
2012-04-14 14:01:31 +00:00
|
|
|
|
2013-04-08 18:45:10 +00:00
|
|
|
@import DependsOnModule.CXX; // expected-error{{module 'DependsOnModule.CXX' requires feature 'cplusplus'}}
|
2013-12-22 00:07:40 +00:00
|
|
|
@import DependsOnModule.NotCXX;
|
|
|
|
@import DependsOnModule.NotObjC; // expected-error{{module 'DependsOnModule.NotObjC' is incompatible with feature 'objc'}}
|