summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/modularize/ProblemsDisplayLists.modularize
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/modularize/ProblemsDisplayLists.modularize')
-rw-r--r--clang-tools-extra/test/modularize/ProblemsDisplayLists.modularize16
1 files changed, 16 insertions, 0 deletions
diff --git a/clang-tools-extra/test/modularize/ProblemsDisplayLists.modularize b/clang-tools-extra/test/modularize/ProblemsDisplayLists.modularize
new file mode 100644
index 00000000000..31be95c6b6b
--- /dev/null
+++ b/clang-tools-extra/test/modularize/ProblemsDisplayLists.modularize
@@ -0,0 +1,16 @@
+# RUN: not modularize -display-file-lists %S/Inputs/CompileError/module.modulemap 2>&1 | FileCheck %s
+
+# CHECK: {{.*}}{{[/\\]}}Inputs{{[/\\]}}CompileError{{[/\\]}}HasError.h:1:9: error: unknown type name 'WithoutDep'
+
+# CHECK: These are the files with possible errors:
+
+# CHECK: Inputs/CompileError/HasError.h
+
+# CHECK: These are the files with no detected errors:
+
+# CHECK: Inputs/CompileError/Level1A.h
+
+# CHECK: These are the combined files, with problem files preceded by #:
+
+# CHECK: {{.*}}Inputs/CompileError/HasError.h
+# CHECK: Inputs/CompileError/Level1A.h
OpenPOWER on IntegriCloud