aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.other/using5.C
blob: 672530199c5e21442866be333dcb424e8e2ff215 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }

// Based on bug report by Klaus-Georg Adams
// <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>

struct bar {
  typedef bar t;
};

struct foo : bar {
  using bar::t;
  t field;
  t meth();
  void baz(t arg);
};