mirror of
https://github.com/ProgramSnail/Lama.git
synced 2025-12-05 22:38:44 +00:00
A test about bad initialization of stringBuf in runtime
Signed-off-by: Kakadu <Kakadu@pm.me>
This commit is contained in:
parent
e18b46787f
commit
f947024453
2 changed files with 7 additions and 0 deletions
2
stdlib/regression/orig/test33.log
Normal file
2
stdlib/regression/orig/test33.log
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
{}.string: 0
|
||||
{}.stringcat:
|
||||
5
stdlib/regression/test33.lama
Normal file
5
stdlib/regression/test33.lama
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import List;
|
||||
import Array;
|
||||
|
||||
printf ("{}.string: %s\n", {}.string);
|
||||
printf ("{}.stringcat: %s\n", {}.stringcat)
|
||||
Loading…
Add table
Add a link
Reference in a new issue