On Sun, Jan 27, 2013 at 11:10 PM, Will Wilson <[email protected]> wrote:
> Hi All,
>
> Currently the s_foo variable below:
>
>     struct DefaultArgClass
>     {
>       DefaultArgClass(int a = 1) {}
>     };
>
>     static DefaultArgClass s_foo;
>
> Will be printed as:
>
>     static DefaultArgClass s_foo();
>
> This is due to the default argument not being correctly determined as
> implicit. The fix and test case are attached for review (and commit if it
> LGTY).

Thank you, committed r173630.

Dmitri

-- 
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <[email protected]>*/
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to