llvm-project/clang/test/Modules/on-demand-build-warnings.m

6 lines
246 B
Mathematica

// RUN: rm -rf %t
// RUN: %clang_cc1 -fmodules -fno-objc-infer-related-result-type -Wmodule-build -fmodule-cache-path %t -F %S/Inputs -verify %s
@__experimental_modules_import Module; // expected-warning{{building module 'Module' from source}}