[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / AST / ByteCode / comma.cpp
blob795958e90b09214533a102c96c24a14d1dcc0913
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 // RUN: %clang_cc1 -fsyntax-only -verify %s -fexperimental-new-constant-interpreter
3 // expected-no-diagnostics
5 // PR6076
6 void f();
7 void (&g)() = (void(), f);
9 int a[1];
10 int (&b)[1] = (void(), a);