blob: 741b0e6930883f5001913cdf65dae9f8aba1c9aa [file] [log] [blame]
Stephen Hines6bcf27b2014-05-29 04:14:42 -07001// RUN: rm -rf %t
Stephen Hines176edba2014-12-01 14:53:08 -08002// RUN: sed -e "s;INPUT_DIR;%/S/Inputs;g" -e "s;OUT_DIR;%/S/Inputs;g" %S/Inputs/vfsoverlay.yaml > %t.yaml
Stephen Hines6bcf27b2014-05-29 04:14:42 -07003
4// RUN: %clang_cc1 -Werror -fmodules -fmodules-cache-path=%t -ivfsoverlay %t.yaml -F %S/Inputs -fsyntax-only %s -verify
5// RUN: %clang_cc1 -Werror -fmodules -fmodules-cache-path=%t -F %S/Inputs -fsyntax-only %s -verify
6// expected-no-diagnostics
Stephen Hines0e2c34f2015-03-23 12:09:02 -07007@import UsesFoo;