mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 17:08:00 +02:00
Added some new tests
This commit is contained in:
parent
64f117b89f
commit
a3f1a33c39
5 changed files with 58 additions and 6 deletions
29
IDE/Tests/Test1/src/Data01.bf
Normal file
29
IDE/Tests/Test1/src/Data01.bf
Normal file
|
@ -0,0 +1,29 @@
|
|||
using System;
|
||||
|
||||
#pragma warning disable 168
|
||||
|
||||
namespace IDETest
|
||||
{
|
||||
class Data01
|
||||
{
|
||||
struct Base
|
||||
{
|
||||
int32 mA;
|
||||
int64 mB;
|
||||
}
|
||||
|
||||
struct Derived : Base
|
||||
{
|
||||
int8 mC;
|
||||
}
|
||||
|
||||
public static void Test()
|
||||
{
|
||||
//Test_Start
|
||||
Derived dr = .();
|
||||
Int iVal = (.)123;
|
||||
|
||||
//Test_End
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue