aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/ok/0024_const_fn.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/data/parser/ok/0024_const_fn.rs')
-rw-r--r--tests/data/parser/ok/0024_const_fn.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/data/parser/ok/0024_const_fn.rs b/tests/data/parser/ok/0024_const_fn.rs
new file mode 100644
index 000000000..eba9322a1
--- /dev/null
+++ b/tests/data/parser/ok/0024_const_fn.rs
@@ -0,0 +1,5 @@
1const fn foo() {
2}
3
4const unsafe fn foo() {
5}