1// PR c++/34938
2
3typedef void (*fptr)() __attribute((noreturn));
4template<int>  void foo();
5template<fptr> void bar();
6
7fptr f = bar< foo<0> >;   // { dg-error "noreturn" }
8