source:
CIVL/mods/dev.civl.abc/examples/fortran/f77_standard/common_extension_bad.f
| Last change on this file was aad342c, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 367 bytes | |
| Line | |
|---|---|
| 1 | c Example from F77 standard Sec. 8.3.6 |
| 2 | c "Equivalence association must not cause a common block storage sequence to be |
| 3 | c extended by adding storage units preceding the first storage unit of the |
| 4 | c first entity specified in a COMMON statement for the common block." |
| 5 | program p |
| 6 | COMMON /X/A |
| 7 | REAL B(2) |
| 8 | EQUIVALENCE (A,B(2)) |
| 9 | end program |
Note:
See TracBrowser
for help on using the repository browser.
