Skip to content

Commit 3c3a894

Browse files
committed
Move cross_check attribute to module and function level in fibo test
1 parent 735bf69 commit 3c3a894

File tree

1 file changed

+2
-1
lines changed
  • cross-checks/rust-checks/tests/fibo/src

1 file changed

+2
-1
lines changed

cross-checks/rust-checks/tests/fibo/src/main.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#![feature(plugin, custom_attribute)]
22
#![plugin(c2rust_xcheck_plugin(config_file = "fibo_globs.c2r"))]
3-
#![cross_check]
43

54
#[macro_use]
65
extern crate c2rust_xcheck_derive;
@@ -9,8 +8,10 @@ extern crate c2rust_xcheck_runtime;
98

109
extern crate c2rust_xcheck_backend_dynamic_dlsym;
1110

11+
#[cross_check]
1212
mod fibo;
1313

14+
#[cross_check]
1415
fn main() {
1516
for i in 0..5 {
1617
//println!("fibo({})={}", i, fibo(i));

0 commit comments

Comments
 (0)