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
PR c++/79899
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
friend7.C
blob
4d22a8791fd4cb7cc7d38f9497d0b1f23396793a
1
// PR c++/79899
2
3
// { dg-do compile }
4
// { dg-options "-Os" }
5
6
struct A
7
{
8
friend A::~A() {} // { dg-error "implicitly friends of their class" }
9
};