1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00
cc65/test/misc/bug1252.c
2022-08-27 02:14:52 +02:00

20 lines
228 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;
}