[LLVMbugs] [Bug 22044] New: The name of struct can be used as for scope resolution an unlimited amount of times.
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Dec 28 07:35:41 PST 2014
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: unassignedclangbugs at nondot.org
Reporter: andj.scott at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141228/e86f9e2a/attachment.html>
More information about the llvm-bugs
mailing list