[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaCXX / PR57778.cpp
blob260dd7c97976bf3470c995491302333f874ce92c
1 // RUN: %clang_cc1 -std=c++20 -fmodule-name=test -fsyntax-only %s -verify
2 // expected-no-diagnostics
4 // Ensure that we won't crash if we specified `-fmodule-name` in `c++20`
5 // for a non module unit.
6 int a;