Skip to content

Commit 5d8eaf6

Browse files
committed
Add comment about assumed pthread API
1 parent 109e270 commit 5d8eaf6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/genmc/fail/shims/mutex_double_unlock.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
//@error-in-other-file: Undefined Behavior
33

44
// Test that GenMC can detect a double unlock of a mutex.
5+
// This test will cause an error even if the program actually would work entirely fine despite the double-unlock
6+
// because GenMC always assumes a `pthread`-like API.
57

68
#![no_main]
79

0 commit comments

Comments
 (0)