1 // RUN: %clang_cc1 -std=c++17 -verify -emit-llvm-only %s
3 // expected-no-diagnostics
5 template <class T> void bar(const T &t) { foo(t); }
10 friend void foo(const HasFriend<T> &m) noexcept(false);
14 void foo(const HasFriend<T> &m) noexcept(false) {}