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

Function float_shift_is_rejected

tests/integration/compiler_undefined_var.rs:175–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

173 reject(
174 r#"
175main: () -> i32 {
176 a: f64 = 4.0
177 b: f64 = 2.0
178 c: f64 = a << b
179 return 0
180}
181"#,
182 "Shl",
183 );
184}
185
186// --- Valid programs that must continue to compile ---
187
188#[test]
189fn variable_defined_before_use_is_accepted() {
190 accept(

Callers

nothing calls this directly

Calls 1

rejectFunction · 0.85

Tested by

no test coverage detected