bolt/deps/llvm-18.1.8/flang/test/HLFIR/null-codegen.fir

10 lines
205 B
Text
Raw Normal View History

2025-02-14 19:21:04 +01:00
// Test hlfir.null code generation to FIR
// RUN: fir-opt %s -convert-hlfir-to-fir | FileCheck %s
func.func @test() {
// CHECK: fir.zero_bits !fir.ref<none>
%0 = hlfir.null !fir.ref<none>
return
}