Sign in
gnu
/
gcc
/
75bbfcfa8623f5b211475a54f52ced32201575e7
/
.
/
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
;
}