17 lines · c
1// RUN: %clang_cc1 -emit-llvm -o %t %s2// PR27433// <rdr://6094512>4 5/* CodeGen should handle this even if it makes it past6 sema. Unfortunately this test will become useless once sema starts7 rejecting this. */8 9static void e0(void);10void f0(void) { e0(); }11 12inline void e1(void);13void f1(void) { e1(); }14 15void e2(void) __attribute__((weak));16void f2(void) { e2(); }17