Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/alignas18.C

raw
1 // PR c++/93530 - ICE on invalid alignas in a template.
2 // { dg-do compile { target c++11 } }
3
4 template <typename T> struct S {
5 using U = S;
6 void fn() alignas(U::X); // { dg-error "not a member" }
7 };