aboutsummaryrefslogtreecommitdiff
path: root/tests/data/parser/ok/0026_const_fn_in_block.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-04 11:17:24 +0100
committerAleksey Kladov <[email protected]>2018-08-04 11:17:24 +0100
commite919db3731968ae7a6877530d2cb645b0495d5fd (patch)
tree02c8f9a9accf0db8f89bdf9c8a8293a81f557568 /tests/data/parser/ok/0026_const_fn_in_block.rs
parent7264c3294b3c460da459774058c9b9fa77edac12 (diff)
refine item parsing
Diffstat (limited to 'tests/data/parser/ok/0026_const_fn_in_block.rs')
-rw-r--r--tests/data/parser/ok/0026_const_fn_in_block.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/data/parser/ok/0026_const_fn_in_block.rs b/tests/data/parser/ok/0026_const_fn_in_block.rs
new file mode 100644
index 000000000..7641a3d28
--- /dev/null
+++ b/tests/data/parser/ok/0026_const_fn_in_block.rs
@@ -0,0 +1,3 @@
1fn main() {
2 const fn f() {}
3}