1 /* { dg-options { "-std=gnu99" } } */ 2 /* { dg-do run { target { ! avr_tiny } } } */ 3 4 __attribute((noinline,noclone)) to_ascii(unsigned i)5char to_ascii (unsigned i) 6 { 7 static const char __flash code_tab[] = "0123456789"; 8 return code_tab[i]; 9 } 10 main()11int main() 12 { 13 if (to_ascii (2) != '2') 14 __builtin_abort(); 15 16 return 0; 17 } 18