Sign in
llvm
/
clang
/
e8264bb9815647b4c6558aeb045c65965cdb26d3
/
.
/
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
(
)
{
}