[LLVMbugs] [Bug 8793] New: Clang compiles member function call with missing ()
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Dec 15 12:39:17 PST 2010
http://llvm.org/bugs/show_bug.cgi?id=8793
Summary: Clang compiles member function call with missing ()
Product: clang
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: stoklund at 2pi.dk
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Clang compiles this C++ program without errors or warnings:
class A {
public:
void foo();
};
int main(void) {
A a;
!a.foo;
}
GCC rejects it, and I believe GCC is correct.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list