summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/fail_compilation/fail17502.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/fail17502.d')
-rw-r--r--gcc/testsuite/gdc.test/fail_compilation/fail17502.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/fail17502.d b/gcc/testsuite/gdc.test/fail_compilation/fail17502.d
index b1366d136b9..49db4fc9839 100644
--- a/gcc/testsuite/gdc.test/fail_compilation/fail17502.d
+++ b/gcc/testsuite/gdc.test/fail_compilation/fail17502.d
@@ -11,9 +11,9 @@ class Foo
{
void foo()
out (res) { assert(res > 5); }
- body {}
+ do {}
auto bar()
out (res) { assert (res > 5); }
- body { return; }
+ do { return; }
}