summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2003-08-20-PrototypeMismatch.c
blob: fa42ca581a0a43aa726f47afc30a3b4dcfb96698 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %clang_cc1 -emit-llvm %s  -o /dev/null



static int foo(int);

static int foo(C)
char C;
{
  return C;
}

void test() {
  foo(7);
}