[LLVMbugs] [Bug 9036] New: Variadic base-specifier-list of union rejected
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jan 24 06:08:30 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9036
Summary: Variadic base-specifier-list of union rejected
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++0x
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: schaub.johannes at googlemail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Clang rejects this code:
template<typename ...T> union A : T... { };
A<> a;
Clang says at parse time "error: unions cannot have base classes", but it can't
know for sure until we instantiate it.
--
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