aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/attrib68.C
blob: be3b11084913add5c6da5c796d33d759df75bde2 (plain)
1
2
3
4
5
6
7
8
// PR c++/114634
// { dg-do compile }

template <int N>
struct A
{
  enum { e __attribute__ ((aligned (16))) };	// { dg-error "alignment may not be specified for 'e'" }
};