summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/inherit/pr30297.C
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/g++.dg/inherit/pr30297.C')
-rw-r--r--gcc/testsuite/g++.dg/inherit/pr30297.C2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.dg/inherit/pr30297.C b/gcc/testsuite/g++.dg/inherit/pr30297.C
index 222d9ab8059..a8edf84852b 100644
--- a/gcc/testsuite/g++.dg/inherit/pr30297.C
+++ b/gcc/testsuite/g++.dg/inherit/pr30297.C
@@ -7,5 +7,5 @@ struct A
extern "C" struct B : A
{
- A::i;
+ A::i; // { dg-warning "deprecated" }
};