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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


namespace B {
    struct C;
};

struct B::C final { };

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

Reply via email to