Add methods to StringMap to erase entries by key.
[oota-llvm.git] / test / Transforms / RaiseAllocations / 2004-11-08-FreeUseCrash.ll
index 0e229c69a953d3b04eea42d70ebce6ffd2a037bd..10daa7620d22dbab540a684d702bde8f8e2949d9 100644 (file)
@@ -1,10 +1,10 @@
 ; RUN: llvm-as < %s | opt -raiseallocs -disable-output
-implementation   ; Functions:
 
-void %main() {
-       %tmp.13 = call int (...)* %free( int 32 )
-       %tmp.14 = cast int %tmp.13 to int*
+define void @main() {
+       %tmp.13 = call i32 (...)* @free( i32 32 )               ; <i32> [#uses=1]
+       %tmp.14 = inttoptr i32 %tmp.13 to i32*          ; <i32*> [#uses=0]
        ret void
 }
 
-declare int %free(...)
+declare i32 @free(...)
+