1 // { dg-do compile { target c++11 } } 2 3 #include "noexcept-type19.h" 4 5 extern "C" void *malloc (size_t); 6 7 template<class T> void f(T*); 8 9 void *g(size_t); 10 main()11 int main() 12 { 13 f<decltype(malloc)>(g); 14 } 15