]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - gcc/testsuite/gdc.test/fail_compilation/fail16206a.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / fail_compilation / fail16206a.d
index 3c1cc56782ea72520959a0a1f2917d936ef50b88..d28a8c33731afae3ccf970802f7cb5be605df276 100644 (file)
@@ -1,12 +1,14 @@
 /*
 TEST_OUTPUT:
 ---
-fail_compilation/fail16206a.d(12): Error: `bool` expected as third argument of `__traits(getOverloads)`, not `"Not a bool"` of type `string`
+fail_compilation/fail16206a.d(14): Error: `bool` expected as third argument of `__traits(getOverloads)`, not `"Not a bool"` of type `string`
 ---
 */
 
-struct S {
+struct S
+{
     static int foo()() { return 0; }
 }
+
 alias AliasSeq(T...) = T;
-alias allFoos = AliasSeq!(__traits(getOverloads, S, "foo", "Not a bool"));
\ No newline at end of file
+alias allFoos = AliasSeq!(__traits(getOverloads, S, "foo", "Not a bool"));