1 /* { dg-do compile } */
2 /* { dg-options "-O2 -Werror-implicit-function-declaration" } */
5 void test_ ## name (void) \
7 __builtin_arc_ ## name (); \
10 #define RET(name, rettype) \
11 rettype test_ ## name (void) \
13 return __builtin_arc_ ## name (); \
16 #define NORET1OP(name, op1type) \
17 void test_ ## name ## _1 (void) \
19 __builtin_arc_ ## name (0x10); \
33 NORET1OP (sleep
, unsigned int)
35 #if defined (__A7__) || defined (__EM__) || defined (__HS__)
36 NORET1OP (trap_s
, unsigned int)
40 #if defined (__EM__) || defined (__HS__)