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++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-38.C
blob
3db981aeb224d68ea576889d35fca7801d0a68fb
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
}