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