1// RUN: c-index-test -index-file -check-prefix CHECK %s -target armv7-windows-gnu -fdeclspec 2 3void __declspec(dllexport) export_function(void) {} 4// CHECK: [indexDeclaraton]: kind: function | name: export_function | {{.*}} | lang: C 5// CHECK: <attribute>: attribute(dllexport) 6void __attribute__((dllexport)) export_gnu_attribute(void) {} 7// CHECK: [indexDeclaration] kind: function | name: export_gnu_attribute | {{.*}} | lang: C 8// CHECK: <attribute>: attribute(dllexport) 9 10void __declspec(dllimport) import_function(void); 11// CHECK: [indexDeclaration] kind: function | name: import_function | {{.*}} | lang: C 12// CHECK: <attribute>: attribute(dllimport) 13void __attribute__((dllimport)) import_gnu_attribute(void); 14// CHECK: [indexDeclaration] kind: function | name: import_gnu_function | {{.*}} | lang: C 15// CHECK: <attribute>: attribute(dllimport) 16 17