diff --git a/doc/langref.html.in b/doc/langref.html.in index 290ed77e7db45f905943d3cc96ecef09d4a4b0c5..1fccd6e351fe14d2be353fc640fea794279fcf8e 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -1261,6 +1261,22 @@ const ptr = &x; x.* == 1234 +
a || bconst A = error{One};
+const B = error{Two};
+(A || B) == error{One, Two}
+