Sent from my iPhone
On Oct 3, 2008, at 11:10 AM, "mrs at apple dot com" <[EMAIL PROTECTED]
> wrote:
In:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-October/017449.html
we were discussing possible bugs in g++ scoping for if statements.
$ cat t.cc
void foo() {
if (int x = 0) {
int
In:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2008-October/017449.html
we were discussing possible bugs in g++ scoping for if statements.
$ cat t.cc
void foo() {
if (int x = 0) {
int x;
}
}
$ ./xgcc -B./ -c t.cc
$
they expected this to produce a redeclaration error on the inner decla