blob: e152c52585278926777491abef16829cdf895dde [file] [log] [blame]
Daniel Dunbard7d5f022009-03-24 02:24:46 +00001// RUN: clang-cc -emit-llvm -o %t %s
Daniel Dunbar219df662008-09-08 23:44:31 +00002// PR2743
3// <rdr://6094512>
4
5/* CodeGen should handle this even if it makes it past
6 sema. Unfortunately this test will become useless once sema starts
7 rejecting this. */
8
9static void e0();
10void f0() { e0(); }
11
12inline void e1();
13void f1() { e1(); }
14
15void e2() __attribute__((weak));
16void f2() { e2(); }