221
|
1 ! Ensure the end-of-line character and anything that follows after in a macro definition (-D) is ignored.
|
|
2
|
|
3 !--------------------------
|
|
4 ! FLANG DRIVER (flang)
|
|
5 !--------------------------
|
236
|
6 ! RUN: printf -- "-DX=A\\\\\nTHIS_SHOULD_NOT_EXIST_IN_THE_OUTPUT\n" | xargs %flang -E -P %s 2>&1 | FileCheck --strict-whitespace --match-full-lines %s
|
221
|
7
|
|
8 !-----------------------------------------
|
|
9 ! FRONTEND FLANG DRIVER (flang_fc1)
|
|
10 !-----------------------------------------
|
236
|
11 ! RUN: printf -- "-DX=A\\\\\nTHIS_SHOULD_NOT_EXIST_IN_THE_OUTPUT\n" | xargs %flang_fc1 -E -P %s 2>&1 | FileCheck --strict-whitespace --match-full-lines %s
|
221
|
12
|
236
|
13 ! CHECK: START A END
|
221
|
14 ! CHECK-NOT:THIS_SHOULD_NOT_EXIST_IN_THE_OUTPUT
|
|
15 ! CHECK-NOT:this_should_not_exist_in_the_output
|
|
16
|
236
|
17 START X END
|