1! Copyright (c) 2019, NVIDIA CORPORATION.  All rights reserved.
2!
3! Licensed under the Apache License, Version 2.0 (the "License");
4! you may not use this file except in compliance with the License.
5! You may obtain a copy of the License at
6!
7!     http://www.apache.org/licenses/LICENSE-2.0
8!
9! Unless required by applicable law or agreed to in writing, software
10! distributed under the License is distributed on an "AS IS" BASIS,
11! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12! See the License for the specific language governing permissions and
13! limitations under the License.
14
15! FLM call name split with leading &
16      integer function IFLM(x)
17        integer :: x
18        IFLM = x
19      end function IFLM
20      program main
21#define IFLM(x) ((x)+111)
22      integer :: res
23      res = IFL&
24&M(666)
25      if (res .eq. 777) then
26        print *, 'pp109.F90 pass'
27      else
28        print *, 'pp109.F90 FAIL: ', res
29      end if
30      end
31