// RUN: %clang_cc1 -fsyntax-only -Wused-but-marked-unused -Wunused-function -Wunneeded-internal-declaration -verify %s
// RUN: %clang_cc1 -fsyntax-only -verify -Wunused %s
// RUN: %clang_cc1 -fsyntax-only -verify -Wall -Wno-infinite-recursion %s
void
static void
static void // expected-warning{{unused}}
static int // expected-warning{{not needed and will not be emitted}}
int x = sizeof;
static void ;
extern void // expected-warning{{unused}}
inline static void ;
void // expected-warning{{unused}}
static void
static void ;
static void ;
static void ;
static void ;
void ;
void
static void
static void ;
void
static void ;
void
static void ;
void
static void ; // expected-warning{{unused}}
static void ;
static void ;
static void // expected-warning{{unused}}
static void // expected-warning{{unused}}
static void ;
// PR7923
static void // expected-warning{{not needed and will not be emitted}}
// rdar://8728293
static void
void
// rdar://12233989
extern void ;
extern void ;
void
void