]> granicus.if.org Git - clang/commitdiff
This test doesn't need to be XFAILed anywhere; it just needed to be updated to the...
authorAaron Ballman <aaron@aaronballman.com>
Mon, 19 May 2014 16:35:00 +0000 (16:35 +0000)
committerAaron Ballman <aaron@aaronballman.com>
Mon, 19 May 2014 16:35:00 +0000 (16:35 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@209140 91177308-0d34-0410-b5e6-96231b3b80d8

test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp

index 07eec1edbe3973d2ace17c318c8e9e30cdeef447..12237a39ab54a2ce8a5e8d104957eba4042147ca 100644 (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}}