]> git.lizzy.rs Git - rust.git/blobdiff - src/test/codegen/lto-removes-invokes.rs
Suggest defining type parameter when appropriate
[rust.git] / src / test / codegen / lto-removes-invokes.rs
index b2f43489523d1859ce824bcea7cf953d64bf841c..b8f9f36c8e78063ca4bba642cda1239db19d36b2 100644 (file)
@@ -1,13 +1,3 @@
-// Copyright 2016 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: -C lto -C panic=abort -O
 // no-prefer-dynamic
 
@@ -20,8 +10,8 @@ fn main() {
 fn foo() {
     let _a = Box::new(3);
     bar();
-// CHECK-LABEL: foo
-// CHECK: call {{.*}} void @bar
+// CHECK-LABEL: define void @foo
+// CHECK: call void @bar
 }
 
 #[inline(never)]