-; RUN: bugpoint %s -output-prefix %t -bugpoint-crashcalls -silence-passes
-; RUN: llvm-dis remove_arguments_test.ll.tmp-reduced-simplified.bc -o - | FileCheck %s
+; RUN: bugpoint -load %llvmshlibdir/BugpointPasses%shlibext %s -output-prefix %t -bugpoint-crashcalls -silence-passes
+; RUN: llvm-dis %t-reduced-simplified.bc -o - | FileCheck %s
+; REQUIRES: loadable_module
; Test to make sure that arguments are removed from the function if they are
; unnecessary. And clean up any types that that frees up too.