// RUN: %clang_cc1 -fsyntax-only -std=c++17 %s // expected-no-diagnostics using A = int; using B = char; template struct C { template void f0() noexcept(sizeof(T) == sizeof(A) && sizeof(V) == sizeof(B)) {} template auto f1(V a) noexcept(1) {return a;} }; void (C::*tmp0)() noexcept = &C::f0; int (C::*tmp1)(int) noexcept = &C::f1;