test-suite/bugs/bug_19360.v
raw| 1 | Module M. Axiom x : nat. End M. |
| 2 | |
| 3 | Module UnfilteredWithSection. |
| 4 | Module N. |
| 5 | Section S. Export M. End S. |
| 6 | Check x. |
| 7 | End N. |
| 8 | |
| 9 | Import N. |
| 10 | Check x. |
| 11 | End UnfilteredWithSection. |
| 12 | |
| 13 | Module NameOnlyWithSection. |
| 14 | Module N'. |
| 15 | Section S. Export M(x). End S. |
| 16 | Check x. |
| 17 | End N'. |
| 18 | Fail Check x. |
| 19 | |
| 20 | Import N'. |
| 21 | Check x. |
| 22 | End NameOnlyWithSection. |