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
Avoid repeated calls to temporarily_undo_changes [PR117297]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
friend33.C
blob
f1b5cb26aa3b74db23767c794e29c0b7f88adbd6
1
// { dg-do compile }
2
// PR c++/18733: Validation of template headers in friends
3
4
template<int> struct A
5
{
6
void foo();
7
};
8
9
struct B
10
{
11
friend void A<0>::foo();
12
};