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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp1y
/
auto-fn64.C
blob
13f3175da45bcb96d98ae44949ccba858f6a2477
1
// PR c++/105761
2
// { dg-do compile { target c++14 } }
3
// { dg-additional-options -Wno-non-template-friend }
4
5
template <class T>
6
class X {
7
friend auto f(X);
8
};
9
10
struct Y : X<long> {
11
friend auto f(X) { return 0L; }
12
};