// RUN: %clang_cc1 -no-opaque-pointers -triple i386-unknown-unknown -std=c++11 -fvisibility-inlines-hidden -emit-llvm -o - %s -O2 -disable-llvm-passes | FileCheck %s
// The trickery with optimization in the run line is to get IR
// generation to emit available_externally function bodies, but not
// actually inline them (and thus remove the emitted bodies).
;
inline void
;
inline void
inline void
;
extern ;
void
// rdar://problem/8614470
// PR8713
// Test that clang implements the new gcc behaviour for inline functions.
// GCC PR30066.