summaryrefslogtreecommitdiff
path: root/test/Parser/cxx-friend.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/Parser/cxx-friend.cpp')
-rw-r--r--test/Parser/cxx-friend.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Parser/cxx-friend.cpp b/test/Parser/cxx-friend.cpp
index a3b89cc688bb..ace0ff26e2d9 100644
--- a/test/Parser/cxx-friend.cpp
+++ b/test/Parser/cxx-friend.cpp
@@ -30,7 +30,7 @@ class B {
void f(A *a) { a->f(); }
};
-void bar() {} // expected-note {{previous definition is here}}
+inline void bar() {} // expected-note {{previous definition is here}}
class E {
friend void bar() {} // expected-error {{redefinition of 'bar'}}
};