summaryrefslogtreecommitdiff
path: root/test/FrontendC/2003-08-20-PrototypeMismatch.c
blob: 85c89f694c57f6d342396efb2896000855ffe593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// RUN: %llvmgcc -S %s -o - | llvm-as -o /dev/null



static int foo(int);

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

void test() {
  foo(7);
}