summaryrefslogtreecommitdiff
path: root/clang/test/Modules/requires.m
blob: ce2537c78b73756ca67168c52f77db2f13d3da38 (about) (plain)
1
2
3
4
5
// RUN: rm -rf %t
// RUN: %clang_cc1 -Wauto-import -fmodule-cache-path %t -fmodules -F %S/Inputs %s -verify

@__experimental_modules_import DependsOnModule.CXX; // expected-error{{module 'DependsOnModule.CXX' requires feature 'cplusplus'}}