summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug-3636.c
blob: 5c74dfcf807fba4120ab828c5c6eefb60c20030c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* bug-3626.c
   The Rabbit assembler failed to assemble some Rabbit instructions not used by the compiler.
*/

#include <testfwk.h>

void
f (void)
{
#if defined(__SDCC_r2k) || defined(__SDCC_r2ka) || defined(__SDCC_r3ka)
  __asm__ ("ex de', hl");
  __asm__ ("ld bc', bc");

  __asm__ ("ld de', bc");
  __asm__ ("ld hl', bc");

  __asm__ ("ld bc', de");
  __asm__ ("ld de', de");
  __asm__ ("ld hl', de");
#endif
}

void
testBug (void)
{
}