[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Parser / PR11000.cpp
blob8d235cdf0316df0f13b266e4043c13362e8a9ff4
1 // RUN: not %clang_cc1 -std=c++11 %s 2>&1 | FileCheck %s
3 // PR11000: Don't crash.
4 class tuple<>
6 template <class _Alloc>
7 tuple(allocator_arg_t, const _Alloc&) {}
9 // CHECK: 6 errors generated.