summaryrefslogtreecommitdiffstats
path: root/tests/ui/pub/pub-ident-fn-or-struct-2.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/pub/pub-ident-fn-or-struct-2.rs')
-rw-r--r--tests/ui/pub/pub-ident-fn-or-struct-2.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/ui/pub/pub-ident-fn-or-struct-2.rs b/tests/ui/pub/pub-ident-fn-or-struct-2.rs
deleted file mode 100644
index 8f67cdd29..000000000
--- a/tests/ui/pub/pub-ident-fn-or-struct-2.rs
+++ /dev/null
@@ -1,4 +0,0 @@
-pub S();
-//~^ ERROR missing `fn` or `struct` for function or struct definition
-
-fn main() {}