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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.dg
/
other
/
error7.C
blob
eadb7b5c52dee9a5ad0fb702acab418a7877532a
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 member" }
12
}