about summary refs log tree commit diff
path: root/tests/ui/linkage-attr/raw-dylib/elf/empty.rs
blob: 2e48a5f0526977f9f9f05729d60ca204196c18c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ only-x86_64-unknown-linux-gnu
//@ needs-dynamic-linking
//@ build-pass

#![allow(incomplete_features)]
#![feature(raw_dylib_elf)]

#[link(name = "hack", kind = "raw-dylib")]
unsafe extern "C" {}

fn main() {}