]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/removed-syntax-fn-sigil.rs
Add 'compiler/rustc_codegen_cranelift/' from commit '793d26047f994e23415f8f6bb5686ff2...
[rust.git] / src / test / ui / parser / removed-syntax-fn-sigil.rs
index f47ad01d7e129321717b9cfe51a67c500308ebee..725843429c0034bede969c9049e49f6be3f99864 100644 (file)
@@ -1,15 +1,3 @@
-// Copyright 2013 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.
-
-// compile-flags: -Z parse-only
-
-fn f() {
+fn main() {
     let x: fn~() = || (); //~ ERROR expected `(`, found `~`
 }