summaryrefslogtreecommitdiff
path: root/test/SemaTemplate/virtual-member-functions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaTemplate/virtual-member-functions.cpp')
-rw-r--r--test/SemaTemplate/virtual-member-functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SemaTemplate/virtual-member-functions.cpp b/test/SemaTemplate/virtual-member-functions.cpp
index 8df808d2569a..59df3c22aa1c 100644
--- a/test/SemaTemplate/virtual-member-functions.cpp
+++ b/test/SemaTemplate/virtual-member-functions.cpp
@@ -36,10 +36,10 @@ struct Base {
template<typename T>
struct Derived : Base<T> {
- virtual void foo() { } // expected-note {{in instantiation of member function 'Base<int>::~Base' requested here}}
+ virtual void foo() { }
};
-template struct Derived<int>;
+template struct Derived<int>; // expected-note {{in instantiation of member function 'Base<int>::~Base' requested here}}
template<typename T>
struct HasOutOfLineKey {