diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/fail236.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/fail236.d | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/fail236.d b/gcc/testsuite/gdc.test/fail_compilation/fail236.d index 255a88157ef..f63eb21a11c 100644 --- a/gcc/testsuite/gdc.test/fail_compilation/fail236.d +++ b/gcc/testsuite/gdc.test/fail_compilation/fail236.d @@ -2,13 +2,13 @@ TEST_OUTPUT: --- fail_compilation/fail236.d(14): Error: undefined identifier `x` -fail_compilation/fail236.d(22): Error: template fail236.Templ2 cannot deduce function from argument types !()(int), candidates are: -fail_compilation/fail236.d(12): fail236.Templ2(alias a)(x) +fail_compilation/fail236.d(22): Error: template `fail236.Templ2` cannot deduce function from argument types `!()(int)` +fail_compilation/fail236.d(12): Candidate is: `Templ2(alias a)(x)` --- */ -// Issue 870 - contradictory error messages for templates - +// https://issues.dlang.org/show_bug.cgi?id=870 +// contradictory error messages for templates template Templ2(alias a) { void Templ2(x) |