diff options
Diffstat (limited to 'tests/ui/empty/empty-linkname.rs')
-rw-r--r-- | tests/ui/empty/empty-linkname.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/ui/empty/empty-linkname.rs b/tests/ui/empty/empty-linkname.rs new file mode 100644 index 000000000..7113d913c --- /dev/null +++ b/tests/ui/empty/empty-linkname.rs @@ -0,0 +1,4 @@ +#[link(name = "")] //~ ERROR: link name must not be empty +extern "C" {} + +fn main() {} |