mirror of
https://github.com/byteworksinc/ORCA-C.git
synced 2024-08-16 16:29:02 +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");
|
|
}
|