aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.old-deja/g++.benjamin/17922.C
blob: 2fc6204e9a8ee62e4203015106aca265008bb7eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// { dg-do assemble  }
// 981204 bkoz
// g++/17922

class base { };

struct derived : public base   {
   derived (const derived&);
   derived (const base&);
};

class tahiti {
public: 
   static void mf (derived);
};

void foo (const derived aaa) {
   tahiti::mf(aaa);
}