aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/ok/0024_const_fn.rs
diff options
context:
space:
mode:
authorbors[bot] <bors[bot]@users.noreply.github.com>2018-02-03 09:07:23 +0000
committerbors[bot] <bors[bot]@users.noreply.github.com>2018-02-03 09:07:23 +0000
commit6d9753bf548b22ab1a54462f72c9c0bf4ff69382 (patch)
treec7dc8cc7c4d8bfd21e64c5a946a23b2d00ca697e /tests/data/parser/ok/0024_const_fn.rs
parent5e7504b978c9b1365e0381691ef453e97603defa (diff)
parente5273d33d05196ca215db4b1c4e207328fa5df08 (diff)
Merge #37
37: G: const item r=matklad a=matklad
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}