Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
20093b4bf698f292c664676987541d5103b65b15
/
.
/
test
/
SemaCXX
/
return.cpp
blob: 03b0ddb87965873ccc2404bb7368ffd0330938d8 [
file
] [
log
] [
blame
]
// RUN: clang-cc %s -fsyntax-only -verify
int
test1
()
{
throw
;
}
// PR5071
template
<
typename
T
>
T f
()
{
}
template
<
typename
T
>
void
g
(
T t
)
{
return
t
*
2
;
// okay
}
template
<
typename
T
>
T h
()
{
return
17
;
}