Debian Codegraph @

gcc/testsuite/gdc.dg/pr100967.d

raw
1 // https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100967
2 // { dg-do compile }
3
4 module object;
5
6 extern(C) int main()
7 {
8 int[int] aa; // { dg-error ".object.TypeInfo. could not be found" }
9 aa[0] = 1; // { dg-error ".object.TypeInfo. could not be found, but is implicitly used" }
10 return 0;
11 }