aboutsummaryrefslogtreecommitdiff
path: root/tests/tests2/82_attribs_position.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tests2/82_attribs_position.c')
-rw-r--r--tests/tests2/82_attribs_position.c5
1 files changed, 5 insertions, 0 deletions
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; }