mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-24 20:28:06 +02:00
11 lines
285 B
C
11 lines
285 B
C
|
|
#include <stdio.h>
|
||
|
|
|
||
|
|
/* Straight-line double close — no branching ambiguity.
|
||
|
|
The converged state at the second fclose is definitely CLOSED.
|
||
|
|
Expected: state-double-close. */
|
||
|
|
void double_close_straight(void) {
|
||
|
|
FILE *f = fopen("data.txt", "r");
|
||
|
|
fclose(f);
|
||
|
|
fclose(f);
|
||
|
|
}
|