Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
f6cde77d7bc34bbee26b086ff192637af8e9da59
/
.
/
test
/
SemaCXX
/
unused-functions.cpp
blob: cefa9e118a48e04e4ddfcd89c5b27e0cf6faab7a [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -Wunused -verify %s
static
int
foo
(
int
x
)
{
return
x
;
}
template
<
typename
T
>
T get_from_foo
(
T y
)
{
return
foo
(
y
);
}
int
g
(
int
z
)
{
return
get_from_foo
(
z
);
}