Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
alignas18.C
blob: 820bdd2d7cab33693c6f0561aa9c53f264d0502b [
file
] [
log
] [
blame
]
// PR c++/93530 - ICE on invalid alignas in a template.
// { dg-do compile { target c++11 } }
template
<
typename
T
>
struct
S
{
using
U
=
S
;
// FIXME: This is ill-formed; see PR90847.
void
fn
()
alignas
(
U
::
X
);
};