Skip to content

Commit 53c3abc

Browse files
committed
Add test 03-practical/39-signal-arg
1 parent 7f216c4 commit 53c3abc

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#include <signal.h>
2+
#include <goblint.h>
3+
4+
void handler(int sig) {
5+
__goblint_check(sig == SIGTERM);
6+
}
7+
8+
int main() {
9+
signal(SIGTERM, handler);
10+
return 0;
11+
}

0 commit comments

Comments
 (0)