[PATCH] D111283: [clang] template / auto deduction deduces common sugar
Victor Campos via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 13 08:25:33 PDT 2022
vhscampos added a comment.
For reference, another small reproducer of the crash, but with a different stack trace than the first example posted here:
// Must compile with -std=c++03 to crash
#include <algorithm>
int main(int, char**)
{
int i[3] = {1, 2, 3};
int j[3] = {4, 5, 6};
std::swap(i, j);
return 0;
}
Compile with -std=c++03 to reproduce the assertion failure.
We found it by running the libcxx tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D111283/new/
https://reviews.llvm.org/D111283
More information about the cfe-commits
mailing list