http://llvm.org/bugs/show_bug.cgi?id=9403

           Summary: Parameter pack expansions not accepted in variadic
                    Objective-C methods
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++0x
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]


@interface A
- (void)f:(int)firstObj, ...;
@end

template<typename ...Args> void f(A* a, Args... args) {
  [a f:args...];
}

template void f<int, int>(A*, int, int);


clang -cc1 -fsyntax-only  -std=c++0x t.mm
t.mm:6:12: error: expected ']'
  [a f:args...];
           ^
1 error generated.

-- 
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