aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/asm-function-14.C
blob: 4a5dd742fd3a3a2f50df0633c40c6b98cad91449 (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 } */
/* { 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();
}