Dead
[official-gcc.git] / gomp-20050608-branch / gcc / testsuite / g++.old-deja / g++.brendan / def-fns1.C
blob8730536d016d42cb28f898c7f7e87d401f1c6f4e
1 // { dg-do assemble  }
2 // GROUPS passed default-functions
3 class dictionary {
4 public:
5   dictionary (int);
6 };
8 class symbol {
9 public:
10   symbol ();
13 // a default ctor should not be generated for hyphenation_language,
14 // since a ctor has already been declared; if one is generated, there
15 // will be an error about not enough args to the ctor for dictionary,
16 // since dictionary only defines a ctor taking an int (it ALSO should
17 // not get a default ctor)
18 struct hyphenation_language {
19   symbol name;
20   dictionary exceptions;
21   hyphenation_language(symbol nm) : name(nm), exceptions(501) {}