1 /* { dg-do compile } */ 2 /* { dg-options "-fPIE" } */ 3 /* { dg-require-effective-target pie } */ 4 5 char *strcpy (char *dest, const char *src); 6 7 static __thread char buffer[25]; error_message(void)8const char * error_message (void) 9 { 10 strcpy (buffer, "Unknown code "); 11 return 0; 12 } 13