aboutsummaryrefslogtreecommitdiff
path: root/crates/syntax/test_data/parser/ok/0012_visibility.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/syntax/test_data/parser/ok/0012_visibility.rs')
-rw-r--r--crates/syntax/test_data/parser/ok/0012_visibility.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/ok/0012_visibility.rs b/crates/syntax/test_data/parser/ok/0012_visibility.rs
new file mode 100644
index 000000000..75b1db121
--- /dev/null
+++ b/crates/syntax/test_data/parser/ok/0012_visibility.rs
@@ -0,0 +1,5 @@
1fn a() {}
2pub fn b() {}
3pub(crate) fn c() {}
4pub(super) fn d() {}
5pub(in foo::bar::baz) fn e() {}