From 2a24e97c80d5004cd1b57cb96a0bde6fe43a848d Mon Sep 17 00:00:00 2001 From: Florian Hahn Date: Mon, 9 Feb 2015 20:01:45 +0100 Subject: Return nonzero exit code if there are errors at a stop point --- src/test/parse-fail/removed-syntax-extern-const.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/test/parse-fail/removed-syntax-extern-const.rs') diff --git a/src/test/parse-fail/removed-syntax-extern-const.rs b/src/test/parse-fail/removed-syntax-extern-const.rs index a0e1d04a3dc..c42fae71237 100644 --- a/src/test/parse-fail/removed-syntax-extern-const.rs +++ b/src/test/parse-fail/removed-syntax-extern-const.rs @@ -8,6 +8,8 @@ // option. This file may not be copied, modified, or distributed // except according to those terms. +// compile-flags: -Z parse-only + extern { const i: isize; //~^ ERROR expected one of `fn`, `pub`, `static`, `unsafe`, or `}`, found `const` -- cgit 1.4.1-3-g733a5