Skip to content

Commit 37d46b0

Browse files
ChuanqiXu9tkoeppe
authored andcommitted
[module.reach] Remove redundant module implementation unit declaration
1 parent 3231e81 commit 37d46b0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

source/modules.tex

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,6 @@
10481048
\end{codeblocktu}
10491049

10501050
\begin{codeblocktu}{Translation unit \#5}
1051-
module X;
10521051
import M;
10531052
B b3; // error: no reachable definition of \tcode{struct B}
10541053
void g() { f(); } // error: no reachable definition of \tcode{struct B}
@@ -1069,7 +1068,6 @@
10691068
\end{codeblocktu}
10701069

10711070
\begin{codeblocktu}{Translation unit \#2}
1072-
module B;
10731071
import A;
10741072
Y y; // OK, definition of \tcode{X} is reachable
10751073
X x; // error: \tcode{X} not visible to unqualified lookup

0 commit comments

Comments
 (0)