http://llvm.org/bugs/show_bug.cgi?id=22044

            Bug ID: 22044
           Summary: The name of struct can be used as for scope resolution
                    an unlimited amount of times.
           Product: clang
           Version: 3.5
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++11
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

The following compiles correctly:

struct Foo {
    Foo() {}
};

int main() {
    Foo();
    Foo::Foo();
    Foo::Foo::Foo();
    Foo::Foo::Foo::Foo::Foo::Foo::Foo::Foo::Foo::Foo::Foo();
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to