You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
327 B

// This source code must be compiled on a ppc64 machine!!
// The compilation command must be:
//
// g++ -g -Wall -O2 -shared -o libtest36-ppc64-aliases-v1.so test36-ppc64-aliases-v1.cc
struct S
{
S();
S(int);
~S();
int m0;
int m1;
};
S::S()
: m0()
{}
S::S(int s)
: m0(s), m1(s)
{}
S::~S()
{}
void
foo(S&)
{}