mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* Update test suite: - run test suite with both OG compiler and new compiler - run compiler parity test against testsuite/escript
12 lines
No EOL
400 B
Text
12 lines
No EOL
400 B
Text
// reported here: https://forums.polserver.com/viewtopic.php?f=7&t=6333
|
|
// This can't be fixed in the new compiler without breaking compatibility
|
|
// with the old one, so leaving it so it does not compile for now.
|
|
var a := -1;
|
|
case (a)
|
|
0: print("zero");
|
|
1: print("one");
|
|
-1: print("this is fine");
|
|
2: print("two");
|
|
endcase
|
|
|
|
force_compile_failure(); // OG compiler errors out |