diff options
author | Chris Lattner <sabre@nondot.org> | 2011-06-19 00:03:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-06-19 00:03:46 +0000 |
commit | a53616d08be710d22fd804e90b22df023cfdc0f9 (patch) | |
tree | aae58c7b8a23a78698bb99b0e6dc405eeb4e0dd3 /test/Integer | |
parent | edcaca8e4177b89a180862bcf779b498e9fe2d4c (diff) |
Remove support for parsing the "type i32" syntax for defining a numbered
top level type without a specified number. This syntax isn't documented
and blocks forward progress.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integer')
-rw-r--r-- | test/Integer/opaquetypes_bt.ll | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/test/Integer/opaquetypes_bt.ll b/test/Integer/opaquetypes_bt.ll deleted file mode 100644 index 5771342c97..0000000000 --- a/test/Integer/opaquetypes_bt.ll +++ /dev/null @@ -1,58 +0,0 @@ -; RUN: llvm-as %s -o - | llvm-dis > %t1.ll -; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll -; RUN: diff %t1.ll %t2.ll - -; This test case is used to test opaque type processing, forward references, -; and recursive types. Oh my. -; - -%SQ1 = type { i31 } -%SQ2 = type { %ITy } -%ITy = type i31 - - -%CCC = type { \2* } -%BBB = type { \2*, \2 * } -%AAA = type { \2*, {\2*}, [12x{\2*}], {[1x{\2*}]} } - -; Test numbered types -type %CCC -type %BBB -%Composite = type { %0, %1 } - -; Test simple opaque type resolution... -%i31ty = type i31 - -; Perform a simple forward reference... -%ty1 = type { %ty2, i31 } -%ty2 = type float - -; Do a recursive type... -%list = type { %list * } -%listp = type { %listp } * - -; Do two mutually recursive types... -%TyA = type { %ty2, %TyB * } -%TyB = type { double, %TyA * } - -; A complex recursive type... -%Y = type { {%Y*}, %Y* } -%Z = type { { %Z * }, [12x%Z] *, {{{ %Z * }}} } - -; More ridiculous test cases... -%A = type [ 123x %A*] -%M = type %M (%M, %M) * -%P = type %P* - -; Recursive ptrs -%u = type %v* -%v = type %u* - -; Test the parser for unnamed recursive types... -%P1 = type \1 * -%Y1 = type { { \3 * }, \2 * } -%Z1 = type { { \3 * }, [12x\3] *, { { { \5 * } } } } - - - - |