☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-38.C
☽
☼
gcc/testsuite/g++.dg/cpp0x/gen-attrs-38.C
code
plain
raw
1
// { dg-do compile { target c++11 } }
2
// PR c++/36625
3
4
template <int N>
5
struct A {
6
struct S { short f[3]; } [[gnu::aligned (N)]]; // { dg-warning "ignored" }
7
};
8
9
int main ()
10
{
11
A<4>::S s;
12
}