add testcase related to issue #1252
This commit is contained in:
19
test/misc/bug1252.c
Normal file
19
test/misc/bug1252.c
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user