1 ; RUN: not llc --mtriple=wasm32-unknown-unknown -asm-verbose=false -mattr=+reference-types < %s 2>&1 | FileCheck %s --check-prefix=CHECK-ERROR
3 %externref = type ptr addrspace(10)
5 define void @load_extern(%externref %ref) {
6 %e = load %extern, %externref %ref
10 ; CHECK-ERROR: error: loading unsized types is not allowed