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



static int foo(int);

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

void test() {
  foo(7);
}
OpenPOWER on IntegriCloud