Debian Codegraph @

vendored-meson/meson/test cases/fortran/23 preprocess/main.f90

raw
1 #define MYDEF program
2 MYDEF foo
3 character(20) :: str
4 #ifdef CORRECT
5 str = 'Hello, ' // 'world!'
6 #else
7 str = 'Preprocessing error!'
8 #endif
9 if (str /= 'Hello, world!') then
10 print *, 'Preprocessing failed.'
11 error stop 1
12 end if
13 stop 0
14 end MYDEF foo