Skip to content

Commit 8afaf83

Browse files
committed
operatoroverloading.dd example
1 parent 63f71d1 commit 8afaf83

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/operatoroverloading.dd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,7 @@ $(H2 $(LEGACY_LNAME2 Dispatch, dispatch, Forwarding))
10571057
to a template function named $(CODE opDispatch) for resolution.
10581058
)
10591059

1060+
$(SPEC_RUNNABLE_EXAMPLE_RUN
10601061
---
10611062
import std.stdio;
10621063

@@ -1098,6 +1099,7 @@ void main()
10981099
assert(d.foo == 8);
10991100
}
11001101
---
1102+
)
11011103

11021104
$(H2 $(LEGACY_LNAME2 Old-Style, old-style, D1 style operator overloading))
11031105

0 commit comments

Comments
 (0)