mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 15:26:00 +02:00
Generic outer type fixes, 'in' fixes
This commit is contained in:
parent
27a792e559
commit
89b597c913
6 changed files with 67 additions and 26 deletions
|
@ -104,6 +104,23 @@ namespace Tests
|
|||
return total;
|
||||
}
|
||||
|
||||
struct Valueless
|
||||
{
|
||||
}
|
||||
|
||||
public static void InCallPtr(in char8* val)
|
||||
{
|
||||
}
|
||||
|
||||
public static void InCallObj(in Object val)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static void InCallValueless(in Valueless val)
|
||||
{
|
||||
}
|
||||
|
||||
[Test]
|
||||
public static void TestBasics()
|
||||
{
|
||||
|
@ -127,6 +144,11 @@ namespace Tests
|
|||
Test.Assert(self.Method5b(sa, sa2, sa3) == sa3);
|
||||
|
||||
Test.Assert(AddFloats(1.0f, 2, 3) == 6.0f);
|
||||
|
||||
InCallPtr("ABC");
|
||||
InCallObj("Hey");
|
||||
Valueless valueless;
|
||||
InCallValueless(valueless);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue