| 1 |
! RUN: %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s |
| 2 |
!CHECK: warning: Unrecognized compiler directive was ignored |
| 3 |
!DIR$ Not a recognized directive |
| 4 |
program main |
| 5 |
contains |
| 6 |
!CHECK: warning: Compiler directive ignored here |
| 7 |
!DIR$ not in a subprogram |
| 8 |
subroutine s |
| 9 |
end |
| 10 |
end |