// { dg-do compile { target c++11 } } // { dg-options "-g" } // Origin: // PR c++/19508: avoid attributes for template parameters template struct BVector { typedef T T2; typedef T value_type [[gnu::aligned(8)]]; // { dg-bogus "attribute" "attribute" } typedef T2 value_type2 [[gnu::aligned(8)]]; // { dg-bogus "attribute" "attribute" } value_type v; }; BVector m; template