summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issue-113342.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issue-113342.rs')
-rw-r--r--tests/ui/parser/issue-113342.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/ui/parser/issue-113342.rs b/tests/ui/parser/issue-113342.rs
deleted file mode 100644
index 18b502736..000000000
--- a/tests/ui/parser/issue-113342.rs
+++ /dev/null
@@ -1,9 +0,0 @@
-#[link(name = "my_c_library")]
-extern "C" {
- fn my_c_function(x: i32) -> bool;
-}
-
-#[no_mangle]
-extern "C" pub fn id(x: i32) -> i32 { x } //~ ERROR expected `fn`, found keyword `pub`
-
-fn main() {}