From b26ff625f2b07a1493f8781035723bdfa0baa4e5 Mon Sep 17 00:00:00 2001 From: "Vikram S. Adve" Date: Sun, 14 Jul 2002 23:18:33 +0000 Subject: [PATCH] Minor additions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2903 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Feature/constpointer.ll | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/Feature/constpointer.ll b/test/Feature/constpointer.ll index 4e1446ffe80..dcf704a4390 100644 --- a/test/Feature/constpointer.ll +++ b/test/Feature/constpointer.ll @@ -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