1 ; RUN: opt -run-twice -passes=verify -S -o - %s | FileCheck %s
3 ; This test is used to check metadata attached to global variable declarations
4 ; are copied when CloneModule(). This is required by out-of-tree passes.
6 ; CHECK: @g = external addrspace(64) global i32, !spirv.InOut !0
8 @g = external addrspace(64) global i32, !spirv.InOut !0