forked from OSchip/llvm-project
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:
parent
9a103563f4
commit
06c59e2598
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue