p4.cpp revision 6bcf27bb9a4b5c3f79cb44c0e4654a6d7619ad89
1// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3void f0() { // expected-note {{previous definition is here}}
4}
5
6inline void f0(); // expected-error {{inline declaration of 'f0' follows non-inline definition}}
7