From 57a56e00067b4546bb0da15fb00653ee0341f5af Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Thu, 25 Feb 2010 21:14:52 -0500 Subject: PR11075: -W option to turn warnings into errors * session.h * NEWS: Discuss it. * main.cxx: Parse it. * session.h (num_errors): Provide it. * semok/fortyeight.stp, semok/thirtyseven.stp: Test it. --- testsuite/semko/fortyeight.stp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 testsuite/semko/fortyeight.stp (limited to 'testsuite/semko') diff --git a/testsuite/semko/fortyeight.stp b/testsuite/semko/fortyeight.stp new file mode 100755 index 00000000..34bcad01 --- /dev/null +++ b/testsuite/semko/fortyeight.stp @@ -0,0 +1,6 @@ +#! stap -Wp2 + +# PR 11075 + +global foo # evokes warning +probe begin { exit() } -- cgit