[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaTemplate / enum-forward.cpp
blobb25c21fc46359e4f0cf928ab2121f65c02f91943
1 // RUN: %clang_cc1 -fsyntax-only -fms-compatibility %s
3 template<typename T>
4 struct X {
5 enum E *e;
6 };
8 X<int> xi;