diff options
author | Jonas Schievink <[email protected]> | 2021-04-29 02:07:53 +0100 |
---|---|---|
committer | Jonas Schievink <[email protected]> | 2021-04-29 02:07:53 +0100 |
commit | cb8632d87ca0ad4e686452b72c0c0c01cd7a869b (patch) | |
tree | b8da652e4137c7a519e885a684b81f983f5ba9a9 /crates/syntax/test_data/parser/inline/ok/0165_const_param_defaults.rs | |
parent | 9d199486dacb982535ed77a2e8aef830ac44a5b5 (diff) |
Parse const param defaults
Diffstat (limited to 'crates/syntax/test_data/parser/inline/ok/0165_const_param_defaults.rs')
-rw-r--r-- | crates/syntax/test_data/parser/inline/ok/0165_const_param_defaults.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/syntax/test_data/parser/inline/ok/0165_const_param_defaults.rs b/crates/syntax/test_data/parser/inline/ok/0165_const_param_defaults.rs new file mode 100644 index 000000000..68388c8fb --- /dev/null +++ b/crates/syntax/test_data/parser/inline/ok/0165_const_param_defaults.rs | |||
@@ -0,0 +1,3 @@ | |||
1 | struct A<const N: i32 = -1>; | ||
2 | struct B<const N: i32 = {}>; | ||
3 | struct C<const N: i32 = some::CONST>; | ||