diff options
Diffstat (limited to 'gcc/testsuite/gdc.test/fail_compilation/fail95.d')
-rw-r--r-- | gcc/testsuite/gdc.test/fail_compilation/fail95.d | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gdc.test/fail_compilation/fail95.d b/gcc/testsuite/gdc.test/fail_compilation/fail95.d index 439e55d8b1f..b1f046ac233 100644 --- a/gcc/testsuite/gdc.test/fail_compilation/fail95.d +++ b/gcc/testsuite/gdc.test/fail_compilation/fail95.d @@ -1,13 +1,13 @@ /* TEST_OUTPUT: --- -fail_compilation/fail95.d(19): Error: template fail95.A cannot deduce function from argument types !()(int), candidates are: -fail_compilation/fail95.d(11): fail95.A(alias T)(T) +fail_compilation/fail95.d(19): Error: template `fail95.A` cannot deduce function from argument types `!()(int)` +fail_compilation/fail95.d(11): Candidate is: `A(alias T)(T)` --- */ -// Issue 142 - Assertion failure: '0' on line 610 in file 'template.c' - +// https://issues.dlang.org/show_bug.cgi?id=142 +// Assertion failure: '0' on line 610 in file 'template.c' template A(alias T) { void A(T) { T = 2; } |