Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
6f0bca7a0ababdfe141f7b1c0435f4ff71d1bff5
/
.
/
test
/
SemaOpenCL
/
warn-missing-prototypes.cl
blob: 487cb28399a32fe4b58a70e56546e9e02b652cd4 [
file
] [
log
] [
blame
]
//
RUN
:
%
clang_cc1 -fsyntax-only -verify -Wmissing-prototypes
%
s
void f
(
)
{
}
//
expected-warning
{{
no previous prototype for function
'f'
}}
//
Don
't
warn about kernel functions
.
kernel void g
(
)
{
}