Commit afb46e4
committed
[flang] Enforce C1503
Enforce an obscure constraint from the standard: an abstract
interface is not allowed to have the same name as an intrinsic
type keyword. I suspect this is meant to prevent a declaration
like "PROCEDURE(REAL), POINTER :: P" from being ambiguous.
Fixes #128744.1 parent 9884803 commit afb46e4
File tree
2 files changed
+14
-0
lines changed- flang
- lib/Semantics
- test/Semantics
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1496 | 1496 | | |
1497 | 1497 | | |
1498 | 1498 | | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
1499 | 1507 | | |
1500 | 1508 | | |
1501 | 1509 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
| |||
0 commit comments