// RUN: %clang_cc1 -verify -std=c++20 -fsyntax-only %s // expected-no-diagnostics template struct S { static constexpr int i = 42; }; template requires true struct S { static constexpr int i = 0; }; static constexpr int a = 0; void test() { static_assert(S::i == 0); static_assert(S<(a)>::i == 0); static_assert(S<((a))>::i == 0); }