[LLVM] Fix Maintainers.md formatting (NFC)
[llvm-project.git] / flang / test / Driver / mlink-builtin-bc.f90
blobe245c1493bbcc4848a320697f6f61b360dce4c13
1 ! Test -mlink-builtin-bitcode flag
2 ! RUN: %flang -emit-llvm -c -o %t.bc %S/Inputs/libfun.f90
3 ! RUN: %flang_fc1 -emit-llvm -o - -mlink-builtin-bitcode %t.bc %s 2>&1 | FileCheck %s
5 ! CHECK: define internal void @libfun_
7 ! RUN: not %flang_fc1 -emit-llvm -o - -mlink-builtin-bitcode %no-%t.bc %s 2>&1 | FileCheck %s --check-prefix=ERROR
9 ! ERROR: error: could not open {{.*}}.bc
11 external libfun
12 parameter(i=1)
13 integer :: j
14 call libfun(j)
15 end program