]> git.sur5r.net Git - cc65/blob - test/err/static-4.c
Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document.
[cc65] / test / err / static-4.c
1 /*
2   !!DESCRIPTION!! global non-static and static conflicts
3   !!ORIGIN!!      cc65 regression tests
4   !!LICENCE!!     Public Domain
5   !!AUTHOR!!      Greg King
6 */
7
8 /*
9   see: https://github.com/cc65/cc65/issues/191
10 */
11
12 #pragma warn(error, on)
13
14 static int n;
15 int n;                  /* should give an error */
16
17 int main(void)
18 {
19     return n;
20 }