Sign in
cobalt
/
cobalt
/
63c7ad499be49ef959b3b1c5ea3f48491aa033d3
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
test
/
Sema
/
surpress-deprecated.c
blob: db9ab3f4eeb65bb73fdf3ee98e16a36905c7fedf [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -Wno-deprecated-declarations -verify %s
// expected-no-diagnostics
extern
void
OldFunction
()
__attribute__
((
deprecated
));
int
main
(
int
argc
,
const
char
*
argv
[])
{
OldFunction
();
}