Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
enum1.C
blob: 7d54c664da15d0306c62d67b5468b0c38a58c4b3 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed enums
class
X
{
struct
X1
;
enum
{
A
=
sizeof
(
X1
*)
};
//Causes a problem.
struct
X1
{
int
i
;
};
X1
*
f
(
X1
*);
public
:
X
(
void
);
};
X
::
X1
*
X
::
f
(
X1
*
x
)
{
return
x
;
}