From 04418c7addb757e80b09c94eb3553b131bcf4de8 Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Fri, 14 Jul 2017 17:42:48 +0200 Subject: Fix function types various cases of function type uses were broken by recent attribute refactoring, this fixes and adds testcases for them. --- tests/tests2/82_attribs_position.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/tests2/82_attribs_position.c') diff --git a/tests/tests2/82_attribs_position.c b/tests/tests2/82_attribs_position.c index 45039b3..7c9f987 100644 --- a/tests/tests2/82_attribs_position.c +++ b/tests/tests2/82_attribs_position.c @@ -11,4 +11,9 @@ typedef union __attribute__((packed)) Unaligned16b { uint8_t b[2]; } Unaligned16b; +extern void foo (void) __attribute__((stdcall)); +void __attribute__((stdcall)) foo (void) +{ +} + int main () { return 0; } -- cgit v1.3.1