summaryrefslogtreecommitdiff
path: root/examples/cppexample.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/cppexample.sh')
-rwxr-xr-xexamples/cppexample.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/cppexample.sh b/examples/cppexample.sh
new file mode 100755
index 0000000..d6ff401
--- /dev/null
+++ b/examples/cppexample.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+g++-5 -fplugin=../cppastdumper.so -fplugin-arg-cppastdumper-command=detectnullpointers cppexample.cpp