1 // { dg-do compile { target c++11 } }
2 // Origin: <rguenth at tat dot physik dot uni-tuebingen dot de>
3 // PR c++/10479: use of non dependent expressions in attributes in templates
4 
5 template <int i>
6 struct foo2 {
7   float bar [[gnu::aligned(alignof(double))]];
8 };
9