c++, coroutines: Simplify separation of the user function body and ramp.
[official-gcc.git] / gcc / testsuite / g++.dg / cpp1y / paren5.C
blob86a513564656b921489b7a0ca42255e4a1265e10
1 // PR c++/93299 - ICE in tsubst_copy with parenthesized expression.
2 // { dg-do compile { target c++14 } }
4 template <typename> struct A {
5   enum { b = 8 };
6 };
8 template <int> struct __attribute__((aligned((A<int>::b)))) D { };
9 struct S : D<0> { };
11 template <int N> struct __attribute__((aligned((A<int>::b) + N))) D2 { };
12 struct S2 : D2<0> { };