mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 12:32:20 +02:00
Added tests for typed primitives
This commit is contained in:
parent
cfc25003a0
commit
24d083f028
3 changed files with 26 additions and 0 deletions
|
@ -28,6 +28,7 @@ namespace IDETest
|
|||
MemoryBreakpointTester.Test();
|
||||
SplatTester.Test();
|
||||
Stepping_Scope.Test();
|
||||
TypedPrimitives.Test();
|
||||
Unions.Test();
|
||||
Virtuals.Test();
|
||||
|
||||
|
|
15
IDE/Tests/Test1/src/TypedPrimitives.bf
Normal file
15
IDE/Tests/Test1/src/TypedPrimitives.bf
Normal file
|
@ -0,0 +1,15 @@
|
|||
#pragma warning disable 168
|
||||
|
||||
class TypedPrimitives
|
||||
{
|
||||
struct StructA : float
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public static void Test()
|
||||
{
|
||||
//Test_Start
|
||||
StructA sa = (.)1.2f;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue