]> git.sur5r.net Git - cc65/blob - test/err/duplicate-global-static.c
Fixed LinuxDoc Tools issues in some verbatim blocks in the Atari document.
[cc65] / test / err / duplicate-global-static.c
1 /*
2   !!DESCRIPTION!! global duplicated with static variable
3   !!ORIGIN!!      cc65 regression tests
4   !!LICENCE!!     Public Domain
5   !!AUTHOR!!      Piotr Fusik
6 */
7
8 /*
9   see: https://github.com/cc65/cc65/issues/191
10 */
11
12 int n = 0;
13 static int n = 0;           /* should give an error */
14
15 int main(void)
16 {
17     return n;
18 }