[LLVMbugs] [Bug 16382] New: rejects-valid redeclaring static member function
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jun 19 14:52:20 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=16382
Bug ID: 16382
Summary: rejects-valid redeclaring static member function
Product: clang
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: sharparrow1 at yahoo.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
Testcase:
class A {
static void f();
static void f();
};
<stdin>:3:15: error: static and non-static member functions with the same
parameter types cannot be overloaded
static void f();
^
<stdin>:2:15: note: previous declaration is here
static void f() {}
^
1 error generated.
--
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/20130619/95d65633/attachment.html>
More information about the llvm-bugs
mailing list