1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-16 15:24:10 +02:00
Beef/IDEHelper/Tests/src/Loops.bf

32 lines
344 B
Beef
Raw Normal View History

#pragma warning disable 168
2020-12-06 09:06:14 -08:00
using System;
namespace Tests
{
class Loops
{
struct StructA
{
public int32 mA;
public int32 mB;
}
2020-12-06 09:06:14 -08:00
[Test]
public static void TestBasics()
{
while (false)
{
}
StructA[0] zeroLoop = default;
for (var val in zeroLoop)
{
StructA sa = val;
int idx = @val;
}
2020-12-06 09:06:14 -08:00
}
}
}