]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/Index/attributes.c
Vendor import of clang release_34 branch r197841 (effectively, 3.4 RC3):
[FreeBSD/FreeBSD.git] / test / Index / attributes.c
1 // RUN: c-index-test -test-load-source all %s | FileCheck %s
2
3 struct __attribute__((packed)) Test2 {
4   char a;
5 };
6
7 // CHECK: attributes.c:3:32: StructDecl=Test2:3:32 (Definition) Extent=[3:1 - 5:2]
8 // CHECK: attributes.c:3:23: attribute(packed)=packed Extent=[3:23 - 3:29]
9 // CHECK: attributes.c:4:8: FieldDecl=a:4:8 (Definition) Extent=[4:3 - 4:9] [access=public]
10