diff options
| author | Eugen Wissner <belka@caraus.de> | 2026-10-03 00:46:51 +0200 |
|---|---|---|
| committer | Eugen Wissner <belka@caraus.de> | 2026-10-03 00:46:51 +0200 |
| commit | 128a564be05afb1cb2ec76884a81c2bd536899fd (patch) | |
| tree | 12bcd5e877aaff326edb253c6b53a3e8b762d699 /testsuite/fail_compilation | |
| parent | c8c9cb33f400031a697b4cad7ccc6b8555776e4f (diff) | |
| download | elna-128a564be05afb1cb2ec76884a81c2bd536899fd.tar.gz | |
Replace noreturn type with an attribute
Diffstat (limited to 'testsuite/fail_compilation')
| -rw-r--r-- | testsuite/fail_compilation/noreturn_return.elna | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/fail_compilation/noreturn_return.elna b/testsuite/fail_compilation/noreturn_return.elna new file mode 100644 index 0000000..7ce50aa --- /dev/null +++ b/testsuite/fail_compilation/noreturn_return.elna @@ -0,0 +1,6 @@ +module + +proc die() #{noreturn} -> Int (* @Error Attribute 'noreturn' cannot be used with a return type *) +extern + +end. |
