aboutsummaryrefslogtreecommitdiff
path: root/test/VFS/umbrella-mismatch.m
blob: 741b0e6930883f5001913cdf65dae9f8aba1c9aa (plain) (blame)
1
2
3
4
5
6
7
// RUN: rm -rf %t
// RUN: sed -e "s;INPUT_DIR;%/S/Inputs;g" -e "s;OUT_DIR;%/S/Inputs;g" %S/Inputs/vfsoverlay.yaml > %t.yaml

// RUN: %clang_cc1 -Werror -fmodules -fmodules-cache-path=%t -ivfsoverlay %t.yaml -F %S/Inputs -fsyntax-only %s -verify
// RUN: %clang_cc1 -Werror -fmodules -fmodules-cache-path=%t -F %S/Inputs -fsyntax-only %s -verify
// expected-no-diagnostics
@import UsesFoo;