xref: /llvm-project/flang/test/Semantics/call32.f90 (revision eb1bd7086abaafb30e41d374d55e68b9f064d929)
1! RUN: %python %S/test_errors.py %s %flang_fc1 -Werror
2! Ensure that a seemingly misparsed function reference is
3! not converted to an array references of the same name if
4! there's an argument keyword.
5real array(1)
6!ERROR: 'array' is not a callable procedure
7print *, array(argument=1)
8end
9