xref: /llvm-project/flang/test/Driver/exec.f90 (revision 5c7f7cc4dea3e202b56cebaa303d7fb8b26fc18e)
1! UNSUPPORTED: system-windows
2! Verify that flang can correctly build executables.
3
4! RUN: %flang %s -o %t
5! RUN: env LD_LIBRARY_PATH="$LD_LIBRARY_PATH:%llvmshlibdir" %t | FileCheck %s
6! RUN: rm -f %t
7
8! CHECK: Hello, World!
9program hello
10  print *, "Hello, World!"
11end program
12