1 ! RUN
: %flang_fc1
-E
-fpreprocess
-include
-lines
-I
%S
/Inputs
%s
2>&1 | FileCheck
%s
4 include
1_
'include-file'
5 include
1_
"include-file"
6 i n c l u d e
'include-file'
8 I N C L U D E
'include-file'
10 include
"include-file"
11 include
1_
'include-file'
12 include
1_
"include-file"
13 i n c l u d e
'include-file'
14 INCLUDE
'include-file'
15 I N C L U D E
'include-file'
16 0include
'include-file'
18 include
'include-file'
20 1include 'not-an-include'
22 cinclude 'not-an-include'
23 *include
'not-an-include'
24 !include
'not-an-include'
25 c include 'not-an-include'
26 * include
'not-an-include'
27 ! include
'not-an-include'
30 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
32 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
34 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
36 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
38 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
40 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
42 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
44 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
46 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
48 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
50 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
52 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
54 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
56 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
58 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
60 !CHECK
:#line
"{{.*[/\\]}}include.f" 17
62 !CHECK
:#line
"{{.*[/\\]}}include-file" 1
64 !CHECK
:#line
"{{.*[/\\]}}include.f" 19
66 !CHECK: &include 'not-an-include' &