Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignas11.C
blob: 73c54da00f638dc04d2352931f2244a297e8e267 [
file
] [
log
] [
blame
]
// PR c++/80241
// { dg-do compile { target c++11 } }
template
<
typename
...
T
>
struct
A
{
[[
gnu
::
aligned
(
alignof
(
A
))...]]
char
c
;
// { dg-error "expansion pattern" }
};
A
<int>
a
;