mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
15 lines
194 B
C
15 lines
194 B
C
|
#include <stdio.h>
|
||
|
|
||
|
extern int bar_size;
|
||
|
extern char *get_bar (int, int);
|
||
|
|
||
|
int
|
||
|
main ()
|
||
|
{
|
||
|
char *bar = get_bar (2, 20);
|
||
|
if (bar_size == 10 && bar[2] == 20)
|
||
|
printf ("OK\n");
|
||
|
|
||
|
return 0;
|
||
|
}
|