aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/using5.C
blob: 57a9507b0b37f13f266c347b2874326f35d9c0bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Build don't link:

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

// crash test - XFAIL *-*-*

struct bar {
  typedef bar t;
};

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