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++/85765 - SFINAE and non-type default template arg.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-25.C
blob
09486d66b76800770f774dd4f37de46d457e0b6c
1
// PR c++/28559
2
// { dg-do compile { target c++11 } }
3
4
template<typename T> struct A
5
{
6
struct B;
7
};
8
9
struct C
10
{
11
template<typename T> friend struct [[gnu::packed]] A<T>::B; // { dg-warning "uninstantiated" }
12
};