1 ; RUN: %lli -jit-kind=mcjit -force-interpreter=true %s > /dev/null
3 ; Check interpreter isn't crashing in handling target extension type.
5 @g = global target("spirv.Event") zeroinitializer, align 8
8 %event = alloca target("spirv.Event"), align 8
9 store target("spirv.Event") zeroinitializer, ptr %event, align 8
10 %e = load target("spirv.Event"), ptr %event, align 8
12 store target("spirv.Event") poison, ptr @g, align 8
13 %e2 = load target("spirv.Event"), ptr @g, align 8