Sign in
gnu
/
gcc
/
8353b540e6bf07bc4de944da9c3772c619f86a9c
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.law
/
enum1.C
blob: c3ef73d5c4b1852a9abe1c59a74a6588b2492f93 [
file
] [
log
] [
blame
]
// Build don't link:
// 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
;
}