1; This testcase is primarily used for testing that global values can be used as
2; constant pointer initializers.  This is tricky because they can be forward
3; declared and involves an icky bytecode encoding.  There is no meaningful
4; optimization that can be performed on this file, it is just here to test
5; assembly and disassembly.
6;
7
8
9%t3 = global int * %t1           ;; Forward reference
10%t1 = global int 4
11%t2 = global int * %t1
12
13global float * %0                ;; Forward numeric reference
14global float * %0                ;; Duplicate forward numeric reference
15global float 0.0
16global float * %0                ;; Numeric reference
17
18
19%fptr = global void() * %f       ;; Forward ref method defn
20declare void "f"()               ;; External method
21
22implementation
23
24