Debian Codegraph @

flang/test/Driver/tco-code-gen-llvm.fir

raw
1 // Test the tco's -code-gen-llvm option.
2
3 // RUN: tco -code-gen-llvm %s 2>&1 | FileCheck %s
4
5 // Check that FIR is translated into LLVM IR, and that
6 // there is no any FIR output.
7
8 // CHECK-NOT: func.func
9 // CHECK: define void @_QPfoo
10 // CHECK-NOT: func.func
11 func.func @_QPfoo() {
12 return
13 }