Files
clang-p2996/clang/test/CodeGen/unusedstatic.c
Nate Begeman 1c906206b8 Fix PR2236
Add test
Implement feedback from Chris re: PR1998

llvm-svn: 50001
2008-04-20 20:38:08 +00:00

8 lines
205 B
C

// RUN: clang %s -emit-llvm -verify
// PR1998
// PR2236
static void a (void);
void b (void) { a (); }
static void a(void) {}
static void c(void) {} // expected-warning {{static 'c' defined but not used}}