1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Fixed comptime valueless ctor

This commit is contained in:
Brian Fiete 2022-03-31 11:16:13 -07:00
parent 6cce0ffc25
commit b5ddc1c24b
2 changed files with 12 additions and 6 deletions

View file

@ -32,6 +32,12 @@ namespace Tests
}
}
struct ZeroStruct
{
public this() { }
public const ZeroStruct ConstValue = ZeroStruct();
}
const String cStrA = "Abc";
const String cStrB = GetStringA(cStrA, 12, 23);