summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attrib16.C
blob: 2e73fca70ba347d674639e7369fc68900085b0f6 (plain)
1
2
3
4
5
6
7
8
// { dg-do compile }
// Origin: <rguenth at tat dot physik dot uni-tuebingen dot de>
// PR c++/10479: use of non dependent expressions in attributes in templates

template <int i>
struct foo2 {
  float bar __attribute__((aligned(__alignof__(double))));
};