2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / g++.dg / cpp0x / alias-decl-59.C
blob1f5e94f6d83887200b9c41e786c2723561ac98ce
1 // PR c++/80244
2 // { dg-do compile { target c++11 } }
4 template<typename>
5 struct A {};
7 template<typename T>
8 using B = A<__underlying_type(T) [[gnu::aligned(4)]]>; // { dg-warning "ignoring attributes on template argument" }
10 template<typename T>
11 using B = A<__underlying_type(T) [[gnu::packed]]>; // { dg-warning "ignoring attributes on template argument" }