1; RUN: opt -run-twice -verify -S -o - %s | FileCheck %s
2
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.
5
6; CHECK: @g = external addrspace(64) global i32, !spirv.InOut !0
7
8@g = external addrspace(64) global i32, !spirv.InOut !0
9
10!0 = !{i32 1}
11