summaryrefslogtreecommitdiffstats
path: root/clang/test/Lexer/cross-windows-on-linux-default.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-03-12 02:53:12 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-03-12 02:53:12 +0000
commitbfaec9bf8b8ce377324026486cd3e8f21bc4c1da (patch)
tree51aa350af3867c8d7c91f7d23352748b7246fd73 /clang/test/Lexer/cross-windows-on-linux-default.cpp
parent729b7d357d7325b185f5ad575f222926a842daa9 (diff)
downloadbcm5719-llvm-bfaec9bf8b8ce377324026486cd3e8f21bc4c1da.tar.gz
bcm5719-llvm-bfaec9bf8b8ce377324026486cd3e8f21bc4c1da.zip
Lexer: split test into separate files
Unfortunately, XFAIL applies to the entire file. Split the test into two different units, enabling the proper application of XFAIL on the test which is expected to fail on Windows. llvm-svn: 203633
Diffstat (limited to 'clang/test/Lexer/cross-windows-on-linux-default.cpp')
-rw-r--r--clang/test/Lexer/cross-windows-on-linux-default.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Lexer/cross-windows-on-linux-default.cpp b/clang/test/Lexer/cross-windows-on-linux-default.cpp
new file mode 100644
index 00000000000..520b419a710
--- /dev/null
+++ b/clang/test/Lexer/cross-windows-on-linux-default.cpp
@@ -0,0 +1,6 @@
+// RUN: not %clang_cc1 -fsyntax-only -fms-compatibility -triple i686-win32 %s 2>&1 \
+// RUN: | FileCheck %s
+
+#include "Inputs\success.h"
+
+// CHECK: error: success
OpenPOWER on IntegriCloud