Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.2
/
gcc
/
testsuite
/
g++.dg
/
warn
/
Wreturn-1.C
blob: f0dba504b9bf750064f6ea540e46ba89f1e4f559 [
file
] [
log
] [
blame
]
// { dg-options "-Wreturn-type" }
// PR c++/15742
extern
void
exit
(
int
)
__attribute__
((
noreturn
));
template
<
typename
T
>
struct
A
{
int
find_cmp
(
void
)
{
exit
(
1
);
}
};