summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/test10520.d
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gdc.test/compilable/test10520.d')
-rw-r--r--gcc/testsuite/gdc.test/compilable/test10520.d5
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gdc.test/compilable/test10520.d b/gcc/testsuite/gdc.test/compilable/test10520.d
index 9a24d840527..d03b903d571 100644
--- a/gcc/testsuite/gdc.test/compilable/test10520.d
+++ b/gcc/testsuite/gdc.test/compilable/test10520.d
@@ -1,11 +1,12 @@
// REQUIRED_ARGS: -debug -profile
-// Issue 10520 [profile+nothrow] Building with profiler results in "is not nothrow" error on some contracts
+// https://issues.dlang.org/show_bug.cgi?id=10520
+// [profile+nothrow] Building with profiler results in "is not nothrow" error on some contracts
void f() { }
void g()()
in { f(); } // OK <- Error: 'main.f' is not nothrow
-body { }
+do { }
alias gi = g!();