blob: 1ce566f1c154e3da4a47edc7ff80b52118e573dd [file] [log] [blame]
/* Check that a change mode to a static function is correctly handled. */
/* { dg-do run } */
static void
__attribute__((__noinline__))
foo (void)
{
__asm__ ("");
}
static void
__attribute__((__noinline__))
__attribute__((target("thumb")))
bar (void)
{
__asm__ ("");
}
int
main (void)
{
foo();
bar();
return 0;
}