2 // { dg-xfail-if "" { sparc64-*-elf } }
3 // { dg-options "-pedantic-errors -g -Wall" }
4 // GROUPS passed synthetics
5 // Check to make sure that g++ doesn't get freaked out about the use
6 // of generated methods that it supposedly "can't see".
13 // synthetic copy-constructor and operator=
18 class XChar: public Char {
21 XChar(char v, int serial);
23 void operator=(const XChar& other);
29 XChar::operator=(const XChar& other)
31 Char::operator=(other);
32 // serial stays the same