| 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! |
| 9 |
program hello |
| 10 |
print *, "Hello, World!" |
| 11 |
end program |