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