summaryrefslogtreecommitdiff
path: root/clang/test/Modules/on-demand-build-warnings.m
blob: 24975c01b781fb62738cd2974ae73903b20ab855 (about) (plain)
1
2
3
4
5
// 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}}