summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/debug/pr15736.cc
blob: 6e83cd26c2efe1f72966feffe78319c9df2ce9dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Test PR 15736 fix
// Contributed by Devang Patel <dpatel@apple.com>
// { dg-do compile }


struct B {
  int n;
};

struct A : B {
  using B::n;
};