From: Aaron Ballman Date: Mon, 19 May 2014 16:35:00 +0000 (+0000) Subject: This test doesn't need to be XFAILed anywhere; it just needed to be updated to the... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1919a364f04e8a1d56f213579330e88014b26a65;p=clang This test doesn't need to be XFAILed anywhere; it just needed to be updated to the appropriate diagnostic wording. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209140 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp b/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp index 07eec1edbe..12237a39ab 100644 --- a/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp +++ b/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp @@ -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}}