1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00
cc65/test/misc/bug1252.c
2022-08-27 02:10:02 +02:00

20 lines
230 B
C

#include <stdlib.h>
int main(void)
{
// this works
c_label:
asm("inx\n"
"bne %g\n",
c_label);
// this does not work
c_label2:
asm("inx\n"
"bne %g \n",
c_label2);
return EXIT_SUCCESS;
}