Skip to content

[C++11] trivial use of variadic templates crashes clang #13758

@llvmbot

Description

@llvmbot
Bugzilla Link 13386
Resolution FIXED
Resolved on Jul 17, 2012 20:29
Version trunk
OS Windows NT
Reporter LLVM Bugzilla Contributor
CC @DougGregor,@zygoloid

Extended Description

The following code is currently crashing clang for me:

template<typename ...T>
struct foo
{
template<typename ...U>
void bar(T &&...t, U &&... u) {}
};

int main()
{
foo<>().bar(42);
}

It is accepted by gcc 4.7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillac++11

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions