Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion tests/charon_llbc/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
//! Minimal Rust crate used to smoke-test the charon_llbc Bazel rule.
//! Kept deliberately small: `charon rustc --preset=aeneas` should translate
//! this without hitting any unsupported features.
//!
//! MUTANT #4 (mutation-testing spike, rules_lean#23): operands commuted in
//! `add`. Expect: SURVIVES, as an EQUIVALENT MUTANT (u32 addition is
//! commutative) — control case to validate the bucketing methodology itself,
//! not a real spec gap.

pub fn add(x: u32, y: u32) -> u32 {
x + y
y + x
}

pub fn identity(x: u64) -> u64 {
Expand Down
Loading