blob: f5c70ef690fc68425e0c4a0f458cd73ebde2f0ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* Check that attribute target arm is recognized. */
/* { dg-do compile } */
/* { dg-final { scan-assembler "\\.arm" } } */
/* { dg-final { scan-assembler-not "\\.thumb_func" } } */
int __attribute__((target("arm")))
foo(int a)
{
return a ? 1 : 5;
}
|