Hi, This patch adds a testcase for a PR that was fixed in upstream, and merged in r15-6824.
Regression tested on x86_64-linux-gnu, and committed to mainline. Regards, Iain. --- PR d/117115 gcc/testsuite/ChangeLog: * gdc.dg/pr117115.d: New test. --- gcc/testsuite/gdc.dg/pr117115.d | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 gcc/testsuite/gdc.dg/pr117115.d diff --git a/gcc/testsuite/gdc.dg/pr117115.d b/gcc/testsuite/gdc.dg/pr117115.d new file mode 100644 index 00000000000..b012268b509 --- /dev/null +++ b/gcc/testsuite/gdc.dg/pr117115.d @@ -0,0 +1,3 @@ +// { dg-do compile } + +enum E117115 {} // { dg-error "must have at least one member" } -- 2.43.0