Debian Codegraph @

gcc/testsuite/g++.dg/parse/crash7.C

raw
1 struct A
2 {
3 int foo () const { return 0; }
4 };
5
6 template <typename> void bar (int x[], const A &a)
7 {
8 const int i=a.foo();
9 x[i]=0;
10 }