1 // RUN: %clang_cc1 -std=c++1z -verify %s
2 
3 void f(void() noexcept); // expected-note {{no known conversion from 'void ()' to 'void (*)() noexcept'}}
4 void f(void()) = delete; // expected-note {{explicitly deleted}}
5 
6 void g();
7 void h() noexcept;
8 
test()9 void test() {
10   f(g); // expected-error {{call to deleted}}
11   f(h);
12 }
13