mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-16 15:24:10 +02:00
Support for operators with ref
parameters, sized array->span
This commit is contained in:
parent
5c05b15b37
commit
1e52dce7c4
9 changed files with 183 additions and 31 deletions
|
@ -52,6 +52,10 @@ namespace Tests
|
|||
ClassA[2] caArr0 = .(ca0, ca0);
|
||||
ClassA[2] caArr1 = .(ca1, ca1);
|
||||
Test.Assert(caArr0 == caArr1);
|
||||
|
||||
Span<int> span = val1;
|
||||
Test.Assert(span[0] == 7);
|
||||
Test.Assert(span[1] == 8);
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue