Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.jason/expr1.C

raw
1 // { dg-do assemble }
2 // Bug: g++ doesn't figure out what to do.
3
4 struct A {
5 operator char *();
6 };
7
8 char foo(A a)
9 {
10 char c = a[0]; // { dg-bogus "" }
11 return c;
12 }