aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.apple/asm-function-15.c
blob: f7f4162aaeec7f97ffe4704912f52ba7add470eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* APPLE LOCAL file CW asm blocks */
/* { dg-do assemble { target powerpc*-*-* } } */
/* { dg-options "-fasm-blocks" } */
/* Test for use of '*' in a relative jump. This is to conform with CW compiler. */

asm void foo()
{
	b       *+8
	bl      *+24
	b       *-8
	bl      *-32
	andi. r1,r0,2
}

int main (int argc, char * const argv[]) 
{
        foo();
}