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
Merge to HEAD at tree-cleanup-merge-20041024 .
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
crash25.C
blob
b18d99b30d7e76c6d9c08b8316d5e144a8e5e4a7
1
// { dg-do assemble }
2
// Origin: Jakub Jelinek <jakub@redhat.com>
3
4
class X {
5
public:
6
X();
7
virtual ~X();
8
}
9
10
X::x() // { dg-error "return type|member function" }
11
{
12
}
13
14
X::~x() // { dg-error "expected class-name" }
15
{
16
}