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