MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / compiles_minimal_valid_program

Function compiles_minimal_valid_program

tests/integration/ir_generation.rs:74–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72 result.unwrap_err(),
73 CompilationError::DiagnosticErrors(_)
74 ));
75}
76
77#[test]
78fn rejects_invalid_pointer_arithmetic() {
79 assert_semantic_error(
80 r#"main: () -> i32* {
81 left: i32* = new(i32)
82 right: i32* = new(i32)

Callers

nothing calls this directly

Calls 2

set_write_artifactsMethod · 0.80

Tested by

no test coverage detected