add testcase related to issue #1252

This commit is contained in:
mrdudz
2022-08-27 02:10:02 +02:00
parent 90b9438b48
commit 41b29d5c81
2 changed files with 27 additions and 0 deletions

19
test/misc/bug1252.c Normal file
View File

@@ -0,0 +1,19 @@
#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;
}