1 ; RUN: opt -S < %s -unreachableblockelim | FileCheck %s
3 target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
4 target triple = "x86_64-unknown-linux-gnu"
10 define void @foo(i32* %p) {
12 %p.addr = alloca i32*, align 8
16 return: ; No predecessors!
17 store i32* %p, i32** %p.addr, align 8