[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaTemplate / value-dependent-bitfield-cond.cpp
blob873e4d48e8374b0d35d459fbe15c48e94fd95a0e
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // expected-no-diagnostics
4 template <int b>
5 class A {
6 int c : b;
8 public:
9 void f() {
10 if (c)