Skip to content

Commit 9316cc5

Browse files
committed
Update expected error message in lit-test fail_compilation/betterC_typeinfo_diag.d
1 parent c12509e commit 9316cc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/fail_compilation/betterC_typeinfo_diag.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
extern(C) void main()
77
{
8-
// CHECK: betterC_typeinfo_diag.d([[@LINE+1]]): Error: `TypeInfo` cannot be used with -betterC
8+
// CHECK: betterC_typeinfo_diag.d([[@LINE+1]]): Error: this array literal requires the GC and cannot be used with `-betterC`
99
int[] foo = [1];
1010
}

0 commit comments

Comments
 (0)