mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 09:27:59 +02:00
31 lines
344 B
Beef
31 lines
344 B
Beef
#pragma warning disable 168
|
|
|
|
using System;
|
|
|
|
namespace Tests
|
|
{
|
|
class Loops
|
|
{
|
|
struct StructA
|
|
{
|
|
public int32 mA;
|
|
public int32 mB;
|
|
}
|
|
|
|
[Test]
|
|
public static void TestBasics()
|
|
{
|
|
while (false)
|
|
{
|
|
|
|
}
|
|
|
|
StructA[0] zeroLoop = default;
|
|
for (var val in zeroLoop)
|
|
{
|
|
StructA sa = val;
|
|
int idx = @val;
|
|
}
|
|
}
|
|
}
|
|
}
|