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/struct-no-fields-enumlike.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/test/parse-fail/struct-no-fields-enumlike.rs') diff --git a/src/test/parse-fail/struct-no-fields-enumlike.rs b/src/test/parse-fail/struct-no-fields-enumlike.rs index 379d310a60b..19a395806d6 100644 --- a/src/test/parse-fail/struct-no-fields-enumlike.rs +++ b/src/test/parse-fail/struct-no-fields-enumlike.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 + struct Foo(); //~ ERROR unit-like struct definition should be written as `struct Foo;` fn main() {} -- cgit 1.4.1-3-g733a5