Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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__
);
}
};