[cfe-dev] Default argument promotion should promote functions/arrays

Eli Friedman eli.friedman at gmail.com
Mon Jan 28 17:42:05 PST 2008


On Jan 28, 2008 5:34 PM, Steve Naroff <snaroff at apple.com> wrote:
> The AST dumps look identical (see below).
>
> What am I missing?

You're not missing anything... I forgot that I have my string patch in my tree.

Try something like this:
int a();
int b() {
a(a);
}

-Eli



More information about the cfe-dev mailing list