summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/scan-build/help.test
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Analysis/scan-build/help.test')
-rw-r--r--clang/test/Analysis/scan-build/help.test18
1 files changed, 18 insertions, 0 deletions
diff --git a/clang/test/Analysis/scan-build/help.test b/clang/test/Analysis/scan-build/help.test
new file mode 100644
index 00000000000..4d1972b7065
--- /dev/null
+++ b/clang/test/Analysis/scan-build/help.test
@@ -0,0 +1,18 @@
+RUN: %scan-build -h | FileCheck %s
+RUN: %scan-build --help | FileCheck %s
+
+Test for help output from scan-build.
+
+
+CHECK: USAGE: scan-build [options] <build command> [build options]
+
+...
+
+CHECK: AVAILABLE CHECKERS:
+...
+CHECK: optin.performance.GCDAntipattern
+CHECK: + osx.API
+...
+
+
+
OpenPOWER on IntegriCloud