summaryrefslogtreecommitdiffstats
path: root/test/Tooling/clang-check-args.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Tooling/clang-check-args.cpp')
-rw-r--r--test/Tooling/clang-check-args.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Tooling/clang-check-args.cpp b/test/Tooling/clang-check-args.cpp
new file mode 100644
index 0000000000..a14fc7bcd6
--- /dev/null
+++ b/test/Tooling/clang-check-args.cpp
@@ -0,0 +1,8 @@
+// RUN: clang-check . "%s" -- -c 2>&1 | FileCheck %s
+
+// CHECK: C++ requires
+invalid;
+
+// FIXME: JSON doesn't like path separator '\', on Win32 hosts.
+// FIXME: clang-check doesn't like gcc driver on cygming.
+// XFAIL: cygwin,mingw32,win32