repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
init
/
ctor4.C
blob
70643ec4e10cd456d9e3fb99f3fd491f4c75fd92
1
// PR c++/17788
2
// { dg-do compile }
3
4
class foo {
5
public:
6
foo();
7
};
8
9
class bar: public foo {// { dg-error "uninitialized" }
10
private:
11
int &a;
12
};
13
14
foo::foo() {
15
}
16
17
int main(int argc, char **argv)
18
{
19
bar x; // { dg-error "synthesized" }
20
}