r209140 - This test doesn't need to be XFAILed anywhere; it just needed to be updated to the appropriate diagnostic wording.
Aaron Ballman
aaron at aaronballman.com
Mon May 19 09:35:01 PDT 2014
Author: aaronballman
Date: Mon May 19 11:35:00 2014
New Revision: 209140
URL: http://llvm.org/viewvc/llvm-project?rev=209140&view=rev
Log:
This test doesn't need to be XFAILed anywhere; it just needed to be updated to the appropriate diagnostic wording.
Modified:
cfe/trunk/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp
Modified: cfe/trunk/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp?rev=209140&r1=209139&r2=209140&view=diff
==============================================================================
--- cfe/trunk/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp (original)
+++ cfe/trunk/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp Mon May 19 11:35:00 2014
@@ -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}}
More information about the cfe-commits
mailing list