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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to