summaryrefslogtreecommitdiff
path: root/clang/test/Tooling/clang-check-args.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Tooling/clang-check-args.cpp')
-rw-r--r--clang/test/Tooling/clang-check-args.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/clang/test/Tooling/clang-check-args.cpp b/clang/test/Tooling/clang-check-args.cpp
new file mode 100644
index 0000000..a14fc7b
--- /dev/null
+++ b/clang/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