opnsense-src/test/SemaTemplate/instantiate-attr.cpp
2010-01-01 10:34:51 +00:00

7 lines
158 B
C++

// 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];