Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
e09b8c41d0eeb17f8cbe73affb213cb7ff8d0718
/
.
/
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
(
)
{
}