blob: bf44c3c6844b688e1921ff3fe8d2b586cd10e822 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001#include <stdio.h>
2
3static int global_static = -1;
4
5int static_test(void)
6{
7 static int local_static = -2;
8
9 if (global_static != -1)
10 printf("FAIL: global_static is not -1\n");
11 if (local_static != -2)
12 printf("FAIL: local_static is not -2\n");
13
14 return (global_static == -1 && local_static == -2);
15}