]> git.proxmox.com Git - rustc.git/blobdiff - src/test/parse-fail/obsolete-proc.rs
Imported Upstream version 1.1.0+dfsg1
[rustc.git] / src / test / parse-fail / obsolete-proc.rs
index 4767c66c2a0580c8379c4af5a421c8beff7ee02c..987eae66f3e63b8fc1fb41377fcaa381247982e0 100644 (file)
@@ -8,6 +8,8 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// compile-flags: -Z parse-only
+
 // Test that we generate obsolete syntax errors around usages of `proc`.
 
 fn foo(p: proc()) { } //~ ERROR `proc` is a reserved keyword