repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.mike
/
net22.C
blob
de39a529e1baacbfdbe1972620b60eabb1de2b50
1
// { dg-do assemble }
2
class Parent {
3
public:
4
Parent() {}
5
Parent( char *s ) {}
6
};
7
8
class Child : public Parent { // { dg-error "" } called
9
};
10
11
int main() {
12
Child c( "String initializer" ); // { dg-error "" } bad
13
return 0;
14
}