]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-fail/issue-18576.rs
Use better bound names in `-Zverbose` mode
[rust.git] / src / test / run-fail / issue-18576.rs
index e326949458ebf86fe43ded57c79ec0a2d8bd853f..ca9d1e5f5e7de0f5e8087246ee57650d99d414fb 100644 (file)
@@ -1,13 +1,3 @@
-// Copyright 2014 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.
-
 // error-pattern:stop
 
 // #18576
@@ -20,4 +10,4 @@ fn main() {
     let pointer = other;
     pointer();
 }
-extern fn other() {}
+extern "C" fn other() {}