aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/cpp0x/gen-attrs-46.C
blob: 53fcb77ff7b685421b7fbb366d9c16612af29d3c (plain)
1
2
3
4
5
// PR c++/40821
// { dg-do compile { target c++11 } }

struct [[gnu::aligned(8)] S1 { int i; }; // { dg-error "" }
struct  [aligned(8)  S2 { int i; }; // { dg-error "" }