On Wed, Feb 6, 2013 at 11:19 PM, Jason Haslam <[email protected]> wrote:
> MSVC accepts this:
>
> class A {
>   A::A();
> };
>
> Clang accepts regular member functions with extra qualification as an MS 
> extension, but not constructors.

Please also add a test that checks that we don't accept this in
non-msext mode.  It should probably go into
test/CXX/class/class.ctor/p1.cpp.

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