Skip to content

Commit 733bd36

Browse files
committed
Temporarily make test18216.d pass, fix runnable/rvalue1.d
1 parent c7e31fb commit 733bd36

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

compiler/test/compilable/test18216.d

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// TODO: hack, make this test work with rvaluerefparam. With ref parameters, opAssign generation triggers:
2+
// compilable/test18216.d(17): Error: struct `test18216.Node` no size because of forward reference
3+
//
4+
// REQUIRED_ARGS: -revert=rvaluerefparam
15
// https://issues.dlang.org/show_bug.cgi?id=18216
26

37
struct Node

compiler/test/runnable/rvalue1.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* PERMUTE_ARGS: -preview=rvaluerefparam
1+
/* PERMUTE_ARGS: -revert=rvaluerefparam
22
/* testing __rvalue */
33

44
import core.stdc.stdio;

0 commit comments

Comments
 (0)