1 /* Verify that CET works. */
2 /* { dg-do compile } */
3 /* { dg-options "-O -fcf-protection" } */
4 /* { dg-final { scan-assembler-times "endbr32" 3 { target ia32 } } } */
5 /* { dg-final { scan-assembler-times "endbr64" 3 { target { ! ia32 } } } } */
7 __attribute__ ((noinline
, noclone
))
11 static void *array
[] = { &&foo
, &&bar
};