mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-12-23 14:30:12 +00:00
18 lines
239 B
C++
18 lines
239 B
C++
/* Conformance Test 25.0.26: Make sure static variabes can be used */
|
|
|
|
#include <stdio.h>
|
|
|
|
static int j;
|
|
|
|
void main(void)
|
|
|
|
{
|
|
static int i;
|
|
|
|
asm {
|
|
lda i
|
|
sta j
|
|
}
|
|
printf ("Passed Conformance Test 25.0.26\n");
|
|
}
|