Issue 58099
Summary Clang rejects valid function declaration
Labels
Assignees
Reporter ranaanoop
    The following program is rejected by clang while accepted by gcc. [Demo](https://godbolt.org/z/rvfqzo5YW).

```
template<typename T, typename... V> 
struct C 
{
    T v(V()...);;
};
int main()
{
    
    C<int> c; //works with gcc but rejected in clang 
    C<int, double, int, int> c2; //same here: works with gcc but rejected in clang
}
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to