brintos

brintos / llvm-project-archived public Read only

0
0
Text · 449 B · e245c14 Raw
16 lines · plain
1! Test -mlink-builtin-bitcode flag2! RUN: %flang -emit-llvm -c -o %t.bc %S/Inputs/libfun.f903! RUN: %flang_fc1 -emit-llvm -o - -mlink-builtin-bitcode %t.bc %s 2>&1 | FileCheck %s4 5! CHECK: define internal void @libfun_6 7! RUN: not %flang_fc1 -emit-llvm -o - -mlink-builtin-bitcode %no-%t.bc %s 2>&1 | FileCheck %s --check-prefix=ERROR8 9! ERROR: error: could not open {{.*}}.bc10 11external libfun12parameter(i=1)13integer :: j14call libfun(j)15end program16