================ @@ -148,13 +148,10 @@ template <int I> struct C { enum class D { d, e, f }; - using enum D; - - static constexpr int W = int(f) + I; + using enum D; // expected-error {{using-enum cannot name a dependent type}} ---------------- Endilll wrote:
Yes. I first implemented the DR, ran the tests, and this one failed. Then I realized that this test was incorrect. https://github.com/llvm/llvm-project/pull/95399 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits