Sign in
gnu
/
gcc
/
1126a05deadda1ef363e0f78fd802c8ee0ea5b56
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb69.C
blob: 9cc5f4a3ffe34482c35d803fc9b7a362160777c2 [
file
] [
log
] [
blame
]
#include
<iostream.h>
struct
foo
{
foo
(
int
x
)
{
cerr
<<
"foo's int constructor ("
<<
x
<<
")\n"
;
};
};
struct
bar
:
foo
{
typedef
int
an_int
;
bar
()
:
bar
::
an_int
(
3
)
{};
// will call foo::foo(3)
};
int
main
()
{
bar b
;
}