Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
noreturn-4.C
blob: 7ef76cc5bc37f3406f967ead93e05cc20643ad30 [
file
] [
log
] [
blame
]
// PR c++/30988
// { dg-do compile }
// { dg-options "-O2 -Wall" }
void
f
(
const
char
*)
__attribute__
((
noreturn
));
template
<
typename
T
>
struct
A
{
int
g
()
{
f
(
__FUNCTION__
);
}
};