1
0
Fork 0
mirror of synced 2025-09-24 04:40:05 +00:00

add whitespace test and changelog

This commit is contained in:
dark64 2022-11-21 17:37:44 +01:00
parent 4937c176bb
commit 5e3b8ff690
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1 @@
Loosen up whitespace restrictions to allow more formatting styles

View file

@ -0,0 +1,21 @@
from "field" import FIELD_MIN,
FIELD_MAX,
FIELD_SIZE_IN_BITS;
struct Foo
{
field a;
field b;
}
def main(
private Foo foo,
field c
) -> bool
{
field[2] arr = [
foo.a,
foo.b
];
return arr[0] * arr[1] == c;
}