summaryrefslogtreecommitdiff
path: root/test/CodeGen/linkage-redecl.c
blob: 09b51f02c13f229a6229666d5c55ce10266c4b5c (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 -emit-llvm %s -o - |grep internal

// C99 6.2.2p3
// PR3425
static void f(int x);

void g0() {
  f(5);
}

extern void f(int x) { } // still has internal linkage