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++: prvalue of array type [PR111286]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr81246.C
blob
01260e1853431eb3a67c4d69659eb11ee51045c2
1
// { dg-do compile { target c++11 } }
2
3
namespace N
4
{
5
template < typename T > class A
6
{
7
template < T > friend class B; // { dg-error "not a valid type" "" { target c++17_down } }
8
};
9
10
A < float > a;
11
}