Sign in
chromium
/
native_client
/
nacl-toolchain
/
gcc-4.4.3
/
.
/
gcc
/
gcc
/
testsuite
/
g++.dg
/
init
/
ctor4.C
blob: 0671dd8537df6551833d2a37c6642f17bfbbcc5a [
file
] [
log
] [
blame
]
// PR c++/17788
// { dg-do compile }
class
foo
{
public
:
foo
();
};
class
bar
:
public
foo
{
// { dg-error "uninitialized" }
private
:
int
&
a
;
};
foo
::
foo
()
{
}
int
main
(
int
argc
,
char
**
argv
)
{
bar x
;
// { dg-message "synthesized" }
}