summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/template/using10.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/template/using10.C')
-rw-r--r--gcc/testsuite/g++.dg/template/using10.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/template/using10.C b/gcc/testsuite/g++.dg/template/using10.C
index 8f0cbda2a88..902773cd51d 100644
--- a/gcc/testsuite/g++.dg/template/using10.C
+++ b/gcc/testsuite/g++.dg/template/using10.C
@@ -7,5 +7,5 @@ struct B {
template <typename T> class I : public B {};
template <typename T> class D : private I<T> {
- I<T>::B::foo;
+ I<T>::B::foo; // { dg-warning "deprecated" }
};