aboutsummaryrefslogtreecommitdiff
path: root/test/SemaTemplate/instantiate-attr.cpp
blob: 08ba9c3a0cd55636d6790aeeceeb5bc9bb6e562f (plain)
1
2
3
4
5
6
7
// RUN: clang-cc -fsyntax-only -verify %s
template <typename T>
struct A {
  char a __attribute__((aligned(16)));
};
int a[sizeof(A<int>) == 16 ? 1 : -1];