mirror of
https://github.com/c3lang/c3c.git
synced 2026-02-27 12:01:16 +00:00
Update tests to (Foo) { ... } syntax.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user