Skip to content

Commit c9c3eab

Browse files
eezstreetjdrouhard
authored andcommitted
Added tests
1 parent dbea41a commit c9c3eab

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

test/corpus/microsoft.txt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ union __declspec(noinline) u2 {
1212
class __declspec(uuid) u2 {
1313
};
1414

15+
int __cdecl f2();
1516
---
1617

1718
(translation_unit
@@ -29,4 +30,10 @@ class __declspec(uuid) u2 {
2930
(ms_declspec_modifier
3031
(identifier))
3132
name: (type_identifier)
32-
body: (field_declaration_list)))
33+
body: (field_declaration_list))
34+
(declaration
35+
type: (primitive_type)
36+
declarator: (ms_call_modifier)
37+
declarator: (function_declarator
38+
declarator: (identifier)
39+
parameters: (parameter_list))))

0 commit comments

Comments
 (0)