aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/contrib/reghunt/examples/29906b.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.4.3/contrib/reghunt/examples/29906b.cc')
-rw-r--r--gcc-4.4.3/contrib/reghunt/examples/29906b.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc-4.4.3/contrib/reghunt/examples/29906b.cc b/gcc-4.4.3/contrib/reghunt/examples/29906b.cc
new file mode 100644
index 000000000..ef644eee5
--- /dev/null
+++ b/gcc-4.4.3/contrib/reghunt/examples/29906b.cc
@@ -0,0 +1,7 @@
+struct A{
+ typedef int T;
+ virtual ~A();
+};
+struct B:public A{
+ using A::T;
+};