diff --git a/test/Transforms/InstCombine/cast.ll b/test/Transforms/InstCombine/cast.ll index dc3f6a7201a..fb0b899ef11 100644 --- a/test/Transforms/InstCombine/cast.ll +++ b/test/Transforms/InstCombine/cast.ll @@ -155,3 +155,9 @@ bool %test24(bool %C) { ret bool %c } +void %test25(int** %P) { + %c = cast int** %P to float** + store float* null, float** %c ;; Fold cast into null + ret void +} +