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++.old-deja
/
g++.jason
/
dtor2.C
blob
fa1e0a92b639d14d63c18809ff9c3448c8761f51
1
// { dg-do run }
2
// PRMS Id: 5163
3
// Bug: g++ doesn't accept the explicit destructor call syntax for templates.
4
5
template <class T> struct A { };
6
A<int> a;
7
8
int main()
9
{
10
a.~A(); // { dg-bogus "" }
11
}