Index: test/Sema/noreturn-function-pointer.c
===================================================================
--- test/Sema/noreturn-function-pointer.c	(revision 0)
+++ test/Sema/noreturn-function-pointer.c	(revision 0)
@@ -0,0 +1,8 @@
+// RUN: clang -cc1 -fsyntax-only %s -verify
+// PR2461
+
+__attribute__((noreturn)) void f(__attribute__((noreturn)) void (*x)(void))
+{
+	x();
+}
+
