[InstCombine] Preserve NSW flags for `lshr (mul nuw X, C1), C2 -> mul nuw nsw X,...
[llvm-project.git] / clang / test / SemaTemplate / gh57943.cpp
blob5a9f6f4d09f8a71224464d0fcdf4d9d9199a3f45
1 // RUN: %clang_cc1 -std=c++20 -verify %s
2 // expected-no-diagnostics
3 struct s {
4 template<typename T>
5 requires requires(T x) { x.g(); }
6 friend void f(T);
7 };