Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
redecl3.C
blob: 1bfd8897487e41106d8a751e86a2a6772503dc4e [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed redeclaration
class
foo
{
public
:
int
bar
(
int
a
);
};
void
bar
(
int
&
a
);
int
foo
::
bar
(
int
a
)
{
int
a
=
0
;
// Should this be an error ?// { dg-error "" } declaration.*
bar
(
a
);
return
0
;
}