This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50811] New: G++ rejects class-virt-specifier if class-head-name includes nested-name-specifier


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

             Bug #: 50811
           Summary: G++ rejects class-virt-specifier if class-head-name
                    includes nested-name-specifier
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: redi@gcc.gnu.org
                CC: jason@gcc.gnu.org


namespace B {
    struct C;
};

struct B::C final { };

f.C:5:13: error: variable 'B::C final' has initializer but incomplete type


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]