bolt/deps/llvm-18.1.8/flang/test/Preprocessing/include-comment.F90

19 lines
539 B
Fortran
Raw Normal View History

2025-02-14 19:21:04 +01:00
! RUN: %flang -I%S -E %s 2>&1 | FileCheck %s
! CHECK-NOT: :3:
#include <empty.h> ! comment
! CHECK-NOT: :5:
#include <empty.h> /* comment */
! CHECK-NOT: :7:
#include <empty.h> !comment
! CHECK: :9:20: portability: #include: extra stuff ignored after file name
#include <empty.h> comment
! CHECK-NOT: :11:
#include "empty.h" ! comment
! CHECK-NOT: :13:
#include "empty.h" /* comment */
! CHECK-NOT: :15:
#include "empty.h" !comment
! CHECK: :17:20: portability: #include: extra stuff ignored after file name
#include "empty.h" comment
end