Created
January 31, 2024 13:40
-
-
Save drikosev/56202b8d928c22da33aebc7cc0e16193 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| program main | |
| implicit one !implicit=one | |
| integer i; | |
| real r; | |
| print *, i, r | |
| if (1.NE.i) print *, "1.NE.i" | |
| if (1./= r) print *, "1./= r" | |
| end program main |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ftest.f90:2: error: syntax:Unexpected name with value 'ONE'. Expected: | |
| '%', '(', ':', '=', '=>', 'CHARACTER', 'CLASS', 'COMPLEX', 'DOUBLE', 'INTEGER', | |
| 'LOGICAL', 'NONE', 'REAL', 'TYPE', or '['. | |
| Parsed with Errors: ftest.f90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment