Skip to content

Commit

Permalink
test differentiation (e)println (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZuseZ4 authored Jul 29, 2024
1 parent 33a9ae3 commit af99bd6
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions integration/tests/examples/io.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#![feature(autodiff)]

#[no_mangle]
#[autodiff(diff, Reverse)]
fn eprintfunc() {
eprintln!("eprintln");
println!("println");
}

fn main() {
diff();
}

0 comments on commit af99bd6

Please sign in to comment.