]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/gdc.test/fail_compilation/fail134.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail134.d
index d7b4a36ffc8f1935ef4aa8a900a793cd143b2fe9..d8ae89cdf8ed43e5abfbeab7ed752521bad13eff 100644 (file)
@@ -1,13 +1,14 @@
 /*
 TEST_OUTPUT:
 ---
-fail_compilation/fail134.d(13): Error: template instance foo!(f) does not match template declaration foo(T)
-fail_compilation/fail134.d(14): Error: template instance fail134.bar!(f) error instantiating
+fail_compilation/fail134.d(14): Error: template instance `foo!(f)` does not match template declaration `foo(T)`
+fail_compilation/fail134.d(14):        `f` is not a type
+fail_compilation/fail134.d(15): Error: template instance `fail134.bar!(f)` error instantiating
 ---
 */
 
-// Issue 651 - Assertion failure: 'global.errors' on line 2622 in file 'template.c'
-
+// https://issues.dlang.org/show_bug.cgi?id=651
+// Assertion failure: 'global.errors' on line 2622 in file 'template.c'
 void f() {}
 template foo(T) {}
 template bar(T...) { alias foo!(T) buz; }