10 lines · plain
1// Test hlfir.null code generation to FIR2 3// RUN: fir-opt %s -convert-hlfir-to-fir | FileCheck %s4 5func.func @test() {6 // CHECK: fir.zero_bits !fir.ref<none>7 %0 = hlfir.null !fir.ref<none>8 return9}10 1// Test hlfir.null code generation to FIR2 3// RUN: fir-opt %s -convert-hlfir-to-fir | FileCheck %s4 5func.func @test() {6 // CHECK: fir.zero_bits !fir.ref<none>7 %0 = hlfir.null !fir.ref<none>8 return9}10