http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51120

             Bug #: 51120
           Summary: [C++0x][C++11] name alias `using` dont need Semicolon
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: trashyan...@wp.pl


this compile without error:
--------------------------------------
--------------------------------------
using aaa = double //; <-!!

template<int u>
class bbb
{

};
--------------------------------------
--------------------------------------


this generate error:
--------------------------------------
--------------------------------------
using aaa = double //; <-!!

class bbb
{

}; //error: two or more data types in declaration of 'type name'
--------------------------------------
--------------------------------------

Reply via email to