Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-25.C
blob: 09486d66b76800770f774dd4f37de46d457e0b6c [
file
] [
log
] [
blame
]
// PR c++/28559
// { dg-do compile { target c++11 } }
template
<
typename
T
>
struct
A
{
struct
B
;
};
struct
C
{
template
<
typename
T
>
friend
struct
[[
gnu
::
packed
]]
A
<
T
>::
B
;
// { dg-warning "uninstantiated" }
};