repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
FSF GCC merge 02/23/03
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
expr1.C
blob
89d719fddd960582a6ed23d35436c1571812c42d
1
// Bug: g++ doesn't figure out what to do.
2
// Build don't link:
3
4
struct A {
5
operator char *();
6
};
7
8
char foo(A a)
9
{
10
char c = a[0]; // gets bogus error
11
return c;
12
}