diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:18:08 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:18:08 +0000 |
| commit | bab175ec4b075c8076ba14c762900392533f6ee4 (patch) | |
| tree | 01f4f29419a2cb10abe13c1e63cd2a66068b0137 /test/Modules/embed-files.cpp | |
| parent | 8b7a8012d223fac5d17d16a66bb39168a9a1dfc0 (diff) | |
Notes
Diffstat (limited to 'test/Modules/embed-files.cpp')
| -rw-r--r-- | test/Modules/embed-files.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/Modules/embed-files.cpp b/test/Modules/embed-files.cpp index f300558dd7f71..8e5a16e544008 100644 --- a/test/Modules/embed-files.cpp +++ b/test/Modules/embed-files.cpp @@ -10,6 +10,10 @@ // // RUN: %clang_cc1 -fmodules -I%t -fmodules-embed-all-files %t/modulemap -fmodule-name=a -x c++ -emit-module -o %t/a.pcm // RUN: %clang_cc1 -fmodules -I%t -fmodules-embed-all-files %t/modulemap -fmodule-name=b -x c++ -emit-module -o %t/b.pcm +// FIXME: This test is flaky on Windows because attempting to delete a file +// after writing it just doesn't seem to work well, at least not in the lit +// shell. +// REQUIRES: shell // RUN: rm %t/x.h // RUN: %clang_cc1 -fmodules -I%t -fmodule-map-file=%t/modulemap -fmodule-file=%t/a.pcm -fmodule-file=%t/b.pcm %s -verify #include "a.h" @@ -19,3 +23,4 @@ char t; // expected-error {{different type}} #include "b.h" char t; // expected-error {{different type}} // expected-note@t.h:1 {{here}} + |
