16bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89Stephen Hines// RUN: %clang_cc1 -fsyntax-only -verify %s 2cb8845f3e358b8583c41ba9bdb9165670900a8e2Daniel Dunbar 36bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89Stephen Hinesvoid f0() { // expected-note {{previous definition is here}} 4cb8845f3e358b8583c41ba9bdb9165670900a8e2Daniel Dunbar} 5cb8845f3e358b8583c41ba9bdb9165670900a8e2Daniel Dunbar 66bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89Stephen Hinesinline void f0(); // expected-error {{inline declaration of 'f0' follows non-inline definition}} 7