Debian Codegraph @

gcc/testsuite/g++.dg/warn/noreturn-4.C

raw
1 // PR c++/30988
2 // { dg-do compile }
3 // { dg-options "-O2 -Wall" }
4
5 void f (const char *) __attribute__ ((noreturn));
6
7 template <typename T> struct A
8 {
9 int g ()
10 {
11 f (__FUNCTION__);
12 }
13 };