aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2020-04-25 10:55:10 +0100
committerIain Sandoe <iain@sandoe.co.uk>2020-04-25 10:55:54 +0100
commitead1c27a5308e8ff3bae6d663c8890d4b24da7c3 (patch)
tree051a63c19d9aaf93d8f86357ae458134aefe7b1c
parentda4aae6e16f2755161b148d110edbf8ed8589acc (diff)
downloadgcc-ead1c27a5308e8ff3bae6d663c8890d4b24da7c3.zip
gcc-ead1c27a5308e8ff3bae6d663c8890d4b24da7c3.tar.gz
gcc-ead1c27a5308e8ff3bae6d663c8890d4b24da7c3.tar.bz2
coroutines, testsuite: Enable a test.
This just enables a test that can now be run since we've resolved the PRs blocking it. 2020-04-25 Iain Sandoe <iain@sandoe.co.uk> * g++.dg/coroutines/torture/co-ret-16-simple-control-flow.C: Enable test.
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/g++.dg/coroutines/torture/co-ret-16-simple-control-flow.C4
2 files changed, 6 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index efbfe99..200681c 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2020-04-25 Iain Sandoe <iain@sandoe.co.uk>
+
+ * g++.dg/coroutines/torture/co-ret-16-simple-control-flow.C:
+ Enable test.
+
2020-04-25 Patrick Palka <ppalka@redhat.com>
* g++.dg/concepts/diagnostic11.C: New test.
diff --git a/gcc/testsuite/g++.dg/coroutines/torture/co-ret-16-simple-control-flow.C b/gcc/testsuite/g++.dg/coroutines/torture/co-ret-16-simple-control-flow.C
index 6d4196d..112aa57 100644
--- a/gcc/testsuite/g++.dg/coroutines/torture/co-ret-16-simple-control-flow.C
+++ b/gcc/testsuite/g++.dg/coroutines/torture/co-ret-16-simple-control-flow.C
@@ -1,5 +1,4 @@
-#if 0
-// { d g-do run }
+// { dg-do run }
// Test returning an int.
// We will use the promise to contain this to avoid having to include
@@ -46,4 +45,3 @@ int main ()
PRINT ("main: returning");
return 0;
}
-#endif