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
/
other
/
error7.C
blob
9845b4172e13b26251509bf6013af75d60be99b6
1
// { dg-do compile }
2
// Origin: <andrewp at andypo dot net>
3
// c++/8046: ICE on illegal code involving destructor being treated as bit-not
4
// expression
5
6
class A;
7
namespace N {}
8
9
void foo(void)
10
{
11
N::~A(); // { dg-error "not a class-name" }
12
}