X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fwasm-custom-section-relocations.rs;h=c3cca3a35ac6916f0ecc0316fe67a6e4032851db;hb=2a663555ddf36f6b041445894a8c175cd1bc718c;hp=5631a70192afd0962bbb6548a0d79278d1bca52a;hpb=4f1d4e4db699d674cae5dec3a8026b1388820895;p=rust.git diff --git a/src/test/ui/wasm-custom-section-relocations.rs b/src/test/ui/wasm-custom-section-relocations.rs index 5631a70192a..c3cca3a35ac 100644 --- a/src/test/ui/wasm-custom-section-relocations.rs +++ b/src/test/ui/wasm-custom-section-relocations.rs @@ -1,13 +1,3 @@ -// Copyright 2018 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 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - // only-wasm32 #[link_section = "test"] @@ -21,3 +11,5 @@ #[link_section = "test"] pub static D: &usize = &C; //~ ERROR: no extra levels of indirection + +fn main() {}