1
; RUN: llvm-as %s -o /dev/null
3
; This testcase used to fail due to a lack of this diff in Value.cpp:
4
; diff -r1.16 Value.cpp
6
; < #include "llvm/Type.h"
8
; > #include "llvm/DerivedTypes.h"
10
; < assert(Ty.get() == (const Type*)OldTy &&"Can't refine anything but my type!");
12
; > assert(Ty.get() == OldTy &&"Can't refine anything but my type!");
13
; > if (OldTy == NewTy && !OldTy->isAbstract())
14
; > Ty.removeUserFromConcrete();
16
; This was causing an assertion failure, due to the "foo" Method object never
17
; releasing it's reference to the opaque %bb value.
21
%exception_descriptor = type i32
23
declare void @foo(i32)