# 3 "gcc_attribute_var.c"
void
write_to_page(unsigned index, char ch)
{
static char page[4096]
__attribute__((__aligned__(4096)));
page[index] = ch;
}
void
placement(
__attribute__((__deprecated__)) int before,
int __attribute__((__deprecated__)) between,
int after __attribute__((__deprecated__))
);
void println(void);
void
ambiguity_for_attribute(void)
{
__attribute__((unused)) _Bool var1;
switch (1) {
case 1:
println();
__attribute__((unused)) _Bool var2;
__attribute__((fallthrough));
case 2:
println();
}
}
void
attribute_after_array_brackets(
const char *argv[] __attribute__((__unused__))
)
{
}
struct attribute_in_member_declaration {
int __attribute__(())
x __attribute__(()),
y __attribute__(());
unsigned int __attribute__(())
bit1:1 __attribute__(()),
bit2:2 __attribute__(()),
bit3:3 __attribute__(());
};
void
anonymous_members(void)
{
struct single_attribute_outer {
struct single_attribute_inner {
int member;
} __attribute__(());
} __attribute__(());
struct multiple_attributes_outer {
struct multiple_attributes_inner {
int member;
} __attribute__(()) __attribute__(());
} __attribute__(()) __attribute__(());
}