Skip to content

Commit c7daada

Browse files
Test
1 parent e3f856c commit c7daada

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

flang/test/Preprocessing/pp048.F

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
! RUN: %flang -E %s 2>&1 | FileCheck %s
2+
#ifndef XYZ42
3+
PARAMETER(A=2)
4+
#else Z
5+
PARAMETER(A=3)
6+
#endif
7+
! Ensure that "PARAMETER(A" is printed only once
8+
! CHECK: PARAMETER(A
9+
! CHECK-NOT: PARAMETER(A
10+
end
11+

0 commit comments

Comments
 (0)