Initial project import

This commit is contained in:
Agila Forge Importer committed 2026-07-13 15:20:32 +00:00
commit 23f2d29e32
11957 files changed
+1754577

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
// vtest build: !msvc-windows && !sanitize-address-gcc && !sanitize-address-clang
// vtest vflags: -autofree
module time
fn test_parse_format_regression_21369_autofree() {
for _ in 0 .. 1000 {
t := parse_format('04 Oct 2023', 'DD MMM YYYY') or {
panic('parse_format should succeed under -autofree')
}
assert t.year == 2023
assert t.month == 10
assert t.day == 4
assert t.hour == 0
assert t.minute == 0
assert t.second == 0
}
}