aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.dg/pr100967.d
blob: bb83c299cedce83cee34e04b8d3b059cbfa5695a (plain)
1
2
3
4
5
6
7
8
9
10
11
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100967
// { dg-do compile }

module object;

extern(C) int main()
{
    int[int] aa;
    aa[0] = 1;  // { dg-error ".object.TypeInfo. could not be found, but is implicitly used" }
    return 0;
}