aboutsummaryrefslogtreecommitdiff
path: root/test/Modules/embed-files.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Modules/embed-files.cpp')
-rw-r--r--test/Modules/embed-files.cpp5
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}}
+