diff options
| author | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-01-10 22:59:41 +0200 |
|---|---|---|
| committer | Kimplul <kimi.h.kuparinen@gmail.com> | 2025-01-10 23:01:35 +0200 |
| commit | 2d90cea9adb9a3f73cd5b211a4ed9508b505729f (patch) | |
| tree | 78f9cde6d162fbda9352d2c668ac00a298815b19 /tests/struct_cont | |
| parent | dbf3ed3db10f9fa9157d661704e16ba5b73b0e84 (diff) | |
| download | ek-2d90cea9adb9a3f73cd5b211a4ed9508b505729f.tar.gz ek-2d90cea9adb9a3f73cd5b211a4ed9508b505729f.zip | |
initial struct continuations implemented
Diffstat (limited to 'tests/struct_cont')
| -rw-r--r-- | tests/struct_cont/source.mk | 2 | ||||
| -rw-r--r-- | tests/struct_cont/struct_cont.ek | 11 |
2 files changed, 11 insertions, 2 deletions
diff --git a/tests/struct_cont/source.mk b/tests/struct_cont/source.mk index b986282..5e607c6 100644 --- a/tests/struct_cont/source.mk +++ b/tests/struct_cont/source.mk @@ -1 +1 @@ -SIMPLE_XFAIL += struct_cont,'unknown top element' +SIMPLE += struct_cont diff --git a/tests/struct_cont/struct_cont.ek b/tests/struct_cont/struct_cont.ek index f4799aa..6e01763 100644 --- a/tests/struct_cont/struct_cont.ek +++ b/tests/struct_cont/struct_cont.ek @@ -1,3 +1,12 @@ -typedef i27 {} +typedef i27 { + /* empty */ +} + continue i27 { + do_something() {} +} + +main() +{ + 29.do_something(); } |
