]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/g++.dg/cpp0x/alias-decl-59.C
Regenerate riscv.opt.urls and i386.opt.urls
[thirdparty/gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-59.C
CommitLineData
be7c73ae
MP
1// PR c++/80244
2// { dg-do compile { target c++11 } }
3
4template<typename>
5struct A {};
6
7template<typename T>
817e878a 8using B = A<__underlying_type(T) [[gnu::aligned(4)]]>; // { dg-warning "ignoring attributes applied to dependent type" }
be7c73ae
MP
9
10template<typename T>
817e878a 11using B = A<__underlying_type(T) [[gnu::packed]]>; // { dg-warning "ignoring attributes applied to dependent type" }