summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2014-05-19 16:35:00 +0000
committerAaron Ballman <aaron@aaronballman.com>2014-05-19 16:35:00 +0000
commit06c59e259867ee866b23ae3108a10e62af72c852 (patch)
treec745d5ce6b1f356e2b23c15e08d5f473f74e35e0 /clang/test
parent9a103563f44ee06146a774458ea1f9e2a16fe231 (diff)
downloadbcm5719-llvm-06c59e259867ee866b23ae3108a10e62af72c852.tar.gz
bcm5719-llvm-06c59e259867ee866b23ae3108a10e62af72c852.zip
This test doesn't need to be XFAILed anywhere; it just needed to be updated to the appropriate diagnostic wording.
llvm-svn: 209140
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp b/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp
index 07eec1edbe3..12237a39ab5 100644
--- a/clang/test/CXX/dcl.dcl/dcl.spec/dcl.fct.spec/p4.cpp
+++ b/clang/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}}
OpenPOWER on IntegriCloud