blob: f6e90996ba9f297e98c429f4621c551d5c7c3bf4 [file] [log] [blame]
/* Functional tests for the function hotpatching feature. */
/* { dg-do compile } */
/* { dg-options "-mzarch -mhotpatch=0,1" } */
#include <stdio.h>
void __attribute__ ((aligned(512))) hp1(void)
{
printf("hello, world!\n");
}
/* Check number of occurences of certain instructions. */
/* { dg-final { scan-assembler-not "alignment for hotpatch" } } */