repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
fsyntax-only2.C
blob
442a09335f3735e2df251e181dd19a006dd6e533
1
// PR c++/79490
2
// { dg-options -fsyntax-only }
3
4
struct IRegistryHub {
5
virtual ~IRegistryHub();
6
};
7
namespace {
8
class A : IRegistryHub {};
9
A *fn1();
10
}
11
void fn2() { delete fn1(); }