Update tests to (Foo) { ... } syntax.

This commit is contained in:
Christoffer Lerno
2025-02-18 18:53:30 +01:00
parent 168c11e006
commit cbacd64987
98 changed files with 449 additions and 551 deletions

View File

@@ -10,9 +10,9 @@ fn void main()
{
FooPriorityQueue agh;
agh.push(Foo { 3 });
agh.push(Foo { 101 });
agh.push(Foo { 10 });
agh.push((Foo) { 3 });
agh.push((Foo) { 101 });
agh.push({ 10 });
while (try f = agh.pop()) io::printf("%s\n", f.x);
}