OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR target/26445
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
error7.C
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
}