Sign in
chromium
/
chromiumos
/
third_party
/
gcc
/
refs/heads/stabilize-5696.B
/
.
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreturn-1.C
blob: f0dba504b9bf750064f6ea540e46ba89f1e4f559 [
file
] [
log
] [
blame
] [
edit
]
// { dg-options "-Wreturn-type" }
// PR c++/15742
extern
void
exit
(
int
)
__attribute__
((
noreturn
));
template
<
typename
T
>
struct
A
{
int
find_cmp
(
void
)
{
exit
(
1
);
}
};