Debian Codegraph @

flang/test/Parser/pp-dir-comments.f90

raw
1 ! RUN: %flang_fc1 -fdebug-unparse %s 2>&1 | FileCheck %s
2
3 #define pmk
4 #ifdef pmk // comment
5 ! CHECK: t1
6 real t1
7 #endif // comment
8 #undef pmk ! comment
9 #ifndef pmk ! comment
10 ! CHECK: t2
11 real t2
12 #endif // comment
13 #if 0 /* C comment */ + 0
14 ! CHECK-NOT: misinterpreted
15 # error misinterpreted #if
16 #else // comment
17 ! CHECK: END PROGRAM
18 end
19 #endif ! comment