mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Minor additions.
llvm-svn: 2903
This commit is contained in:
parent
ca1f1c58e1
commit
3409e5418c
@ -8,6 +8,8 @@
|
||||
|
||||
%t3 = global int * %t1 ;; Forward reference
|
||||
%t1 = global int 4
|
||||
%t4 = global int ** %t3 ;; reference to reference
|
||||
|
||||
%t2 = global int * %t1
|
||||
|
||||
global float * %0 ;; Forward numeric reference
|
||||
@ -19,5 +21,9 @@ global float * %0 ;; Numeric reference
|
||||
%fptr = global void() * %f ;; Forward ref method defn
|
||||
declare void "f"() ;; External method
|
||||
|
||||
%sptr1 = global [11x sbyte]* %somestr ;; Forward ref to a constant
|
||||
%somestr = constant [11x sbyte] c"hello world"
|
||||
%sptr2 = global [11x sbyte]* %somestr
|
||||
|
||||
implementation
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user