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
predicate aware uninitialized analysis
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
dtor5.C
blob
297a0e73714591830564fc49e9ae1b3fe27efd55
1
// PR c++/19732
2
3
struct A;
4
typedef int ~A; // { dg-error "non-function" }
5
struct B {
6
~A(); // { dg-error "" }
7
typedef int ~A; // { dg-error "non-function" }
8
void f() {
9
extern ~B(); // { dg-error "non-member" }
10
}
11
};
12
void ~A(); // { dg-error "non-member" }