We cannot use dxilOpaquePtrReservedName in this test as that is the wrong type for the null initializer.
7 lines
247 B
LLVM
7 lines
247 B
LLVM
; RUN: llc -mtriple=dxil-pc-shadermodel6.3-library --filetype=obj -o %t.dxbc %s
|
|
; RUN: llvm-objcopy --dump-section=DXIL=%t.bc %t.dxbc
|
|
; RUN: llvm-dis -o - %t.bc | FileCheck %s
|
|
|
|
; CHECK: @foo = common global ptr null
|
|
@foo = common global ptr null
|