summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/imports/testcontracts.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/imports/testcontracts.d')
-rw-r--r--gcc/testsuite/gdc.test/compilable/imports/testcontracts.d4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/imports/testcontracts.d b/gcc/testsuite/gdc.test/compilable/imports/testcontracts.d
index f7414cefbee..5d309650720 100644
--- a/gcc/testsuite/gdc.test/compilable/imports/testcontracts.d
+++ b/gcc/testsuite/gdc.test/compilable/imports/testcontracts.d
@@ -11,7 +11,7 @@ class Base3602
assert(x > 0);
assert(y > 0);
}
- body
+ do
{
}
}
@@ -25,7 +25,7 @@ class Base5230
out (res)
{
}
- body
+ do
{
return 42;
}