We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c12509e commit 9316cc5Copy full SHA for 9316cc5
tests/fail_compilation/betterC_typeinfo_diag.d
@@ -5,6 +5,6 @@
5
6
extern(C) void main()
7
{
8
- // CHECK: betterC_typeinfo_diag.d([[@LINE+1]]): Error: `TypeInfo` cannot be used with -betterC
+ // CHECK: betterC_typeinfo_diag.d([[@LINE+1]]): Error: this array literal requires the GC and cannot be used with `-betterC`
9
int[] foo = [1];
10
}
0 commit comments