summaryrefslogtreecommitdiff
path: root/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp
blob: 07eec1edbe3973d2ace17c318c8e9e30cdeef447 (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -verify %s
// XFAIL: *

void f0() {
}

inline void f0(); // expected-error {{function definition cannot precede inline declaration}}