| Daniel Dunbar | a572887 | 2009-12-15 20:14:24 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -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 | ||||