\nDocumentation — Avisna Documentation
Docs/Overview/Documentation

LANGUAGE · VERIFIED

Functions

fn add(a: int, b: int) -> int {
    return a + b;
}

fn main() -> int {
    return add(10, 20);
}

Verified behavior

  • Typed parameters and return types
  • Function calls
  • Multiple functions in one program
  • Functions without an explicit return type in tested scenarios
  • Return values and tail expressions

TRACEABILITY

Related Evidence

Evidence references

Open a published source test or inspect the evidence index for source and report summaries. A source file demonstrates a test scenario; it does not imply complete coverage of the related behavior.

Browse the public evidence index →