]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/nil-pattern.rs
Rollup merge of #45171 - rust-lang:petrochenkov-patch-2, r=steveklabnik
[rust.git] / src / test / run-pass / nil-pattern.rs
index 92ede8d8dd0a8f094d4d5afbe138ee4b4783d489..342644e03843725b332a86a8baf5a91b0a26d0c9 100644 (file)
@@ -1,2 +1,13 @@
-// xfail-stage0
-fn main() { let x = (); alt x { () { } } }
\ No newline at end of file
+// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
+// file at the top-level directory of this distribution and at
+// http://rust-lang.org/COPYRIGHT.
+//
+// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
+// option. This file may not be copied, modified, or distributed
+// except according to those terms.
+
+// pretty-expanded FIXME #23616
+
+pub fn main() { let x = (); match x { () => { } } }