Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
;