Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
f6cde77d7bc34bbee26b086ff192637af8e9da59
/
.
/
test
/
SemaCXX
/
return.cpp
blob: e682fdfb500921dfec01f8356376f588e9038443 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 %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
;
}