[LLVMbugs] [Bug 8047] New: clang++ incorrectly accepts instantiating dependent declaration with function type
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Aug 31 23:47:28 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=8047
Summary: clang++ incorrectly accepts instantiating dependent
declaration with function type
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Testcase (lifted from [temp.arg.type]p3):
template<class T> struct A {
static T t;
};
typedef int function();
A<function> a;
clang incorrectly accepts this. There are also a variety of codegen crashes
possible with variants of this construct.
--
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