xref: /llvm-project/flang/test/Driver/tco-code-gen-llvm.fir (revision 42fead6834ef3a96c765ea545c2d2bac951f7e98)
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
11func.func @_QPfoo() {
12  return
13}
14