Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
(cherry picked from commit 4a25a49)
  • Loading branch information
nbdd0121 authored and cuviper committed Oct 20, 2022
1 parent b4ad734 commit 7539bc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/run-pass-valgrind/cast-enum-with-dtor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ fn main() {
{
let e = E::C;
assert_eq!(e as u32, 2);
assert_eq!(FLAG.load(Ordering::SeqCst), 0);
assert_eq!(FLAG.load(Ordering::SeqCst), 1);
}
assert_eq!(FLAG.load(Ordering::SeqCst), 1);
}

0 comments on commit 7539bc3

Please sign in to comment.