This test doesn't need to be XFAILed anywhere; it just needed to be updated to the appropriate diagnostic wording.

llvm-svn: 209140
This commit is contained in:
Aaron Ballman 2014-05-19 16:35:00 +00:00
parent 9a103563f4
commit 06c59e2598
1 changed files with 3 additions and 4 deletions

View File

@ -1,7 +1,6 @@
// RUN: %clang_cc1 -verify %s
// XFAIL: *
// RUN: %clang_cc1 -fsyntax-only -verify %s
void f0() {
void f0() { // expected-note {{previous definition is here}}
}
inline void f0(); // expected-error {{function definition cannot precede inline declaration}}
inline void f0(); // expected-error {{inline declaration of 'f0' follows non-inline definition}}