URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.brendan/] [cvt5.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
// GROUPS passed conversions
typedef unsigned long Array[3];
void sample(const unsigned long (&an_array)[3]);
class Sample
{
public:
void simple(const Array &an_array);
static void sample(const Array &an_array);
};
class A
{
public:
Array array;
};
Sample s;
void simple(const A &a)
{
s.simple(a.array);
sample(a.array);
Sample::sample(a.array);
}