Daniel Dunbar | d7d5f02 | 2009-03-24 02:24:46 +0000 | [diff] [blame] | 1 | // RUN: clang-cc -emit-llvm %s -o - |grep internal |
Douglas Gregor | 04495c8 | 2009-02-24 01:23:02 +0000 | [diff] [blame] | 2 | |
3 | // C99 6.2.2p3 | ||||
4 | // PR3425 | ||||
5 | static void f(int x); | ||||
6 | |||||
7 | void g0() { | ||||
8 | f(5); | ||||
9 | } | ||||
10 | |||||
11 | extern void f(int x) { } // still has internal linkage |